Alokai

deleteCustomerAddress

Deletes a customer address.

This method sends a POST request to the deleteCustomerAddress endpoint of the Vue Storefront API Middleware. In turn, it receives data from the deleteCustomerAddress endpoint exposed by the BigCommerce API

Signature

declare function deleteCustomerAddress$1(
	props: DeleteAddressParameters,
	options?: MethodOptions
): Promise<void>;

Parameters

NameRequiredTypeDescription
propsRequiredDeleteAddressParametersParameter object which can be used with this method. Refer to its type definition to learn about possible properties.
optionsOptionalMethodOptions

Returns

Returns void

Referenced Types

Examples

Deleting a customer address

import { sdk } from '~/sdk.config.ts';

const deleteAddressResponse = await sdk.bigcommerce.deleteCustomerAddress({
 'id:in': [100]
})

On this page