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
| Name | Required | Type | Description |
|---|---|---|---|
context | Required | SetupContext | Automatically injected context. Refer to SetupContext |
params | Required | UpdateShippingAddressParams | Address and user information |
customQuery | Optional | CustomQuery | Custom queries included in the request |
responseOptions | Optional | ResponseOptions |
Returns
User information