deleteAddresses - Customer Module Reference
This documentation provides a reference to the deleteAddresses
method. This belongs to the Customer Module.
deleteAddresses(addressId, sharedContext?): Promise<void>
This method deletes an address by its ID.
Example
Parameters
addressId
stringRequiredThe address's ID.
Returns
Promise
Promise<void>RequiredResolves when the address is deleted successfully.
deleteAddresses(addressIds, sharedContext?): Promise<void>
This method deletes addresses by their IDs.
Example
Parameters
addressIds
string[]RequiredThe IDs of addresses.
Returns
Promise
Promise<void>RequiredResolves when the addresses are deleted successfully.
deleteAddresses(selector, sharedContext?): Promise<void>
This method deletes addresses matching the specified filters.
Example
Parameters
The filters that specify which addresses should be deleted.
Returns
Promise
Promise<void>RequiredResolves when the addresses are deleted successfully.
Was this section helpful?