Home > @vsf-enterprise/commercetools-api > deleteShippingAddress
# deleteShippingAddress() function
Endpoint for deleting saved shipping address of the currently logged user based on provided ID. By default, it uses the deleteShippingAddressDefaultQuery GraphQL query
Signature:
export declare function deleteShippingAddress(context: Context, params: DeleteShippingAddressParams, customQuery?: CustomQuery): Promise<DeleteShippingAddressResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | Context | Automatically injected context. Refer to Context |
params | DeleteShippingAddressParams | User and address information |
customQuery | CustomQuery | Custom queries included in the request |
Returns:
Promise<DeleteShippingAddressResponse>
Customer data