Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

updateShippingAddress

Endpoint for updating shipping address of the current user. By default, it uses the updateShippingAddressDefaultQuery GraphQL query

Signature

export declare function updateShippingAddress(
	context: SetupContext,
	params: UpdateShippingAddressParams,
	customQuery?: CustomQuery,
	responseOptions?: ResponseOptions
): Promise<UpdateShippingAddressResponse>;

Parameters

NameRequiredTypeDescription
contextRequiredSetupContextAutomatically injected context. Refer to SetupContext
paramsRequiredUpdateShippingAddressParamsAddress and user information
customQueryOptionalCustomQueryCustom queries included in the request
responseOptionsOptionalResponseOptions

Returns

User information

Referenced Types

On this page