Home > @vsf-enterprise/commercetools-api > updateShippingAddress

# updateShippingAddress() function

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

Signature:

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

# Parameters

Parameter Type Description
context Context Automatically injected context. Refer to Context
params UpdateShippingAddressParams Address and user information
customQuery CustomQuery Custom queries included in the request

Returns:

Promise<UpdateShippingAddressResponse>

User information