deleteAddresses - Cart Module Reference
This documentation provides a reference to the deleteAddresses
method. This belongs to the Cart Module.
deleteAddresses(ids, sharedContext?): Promise<void>
This method deletes addresses by their IDs.
Example
Parameters
ids
string[]RequiredThe IDs of the cart.
Returns
Promise
Promise<void>RequiredResolves when the addresses are deleted successfully.
deleteAddresses(ids, sharedContext?): Promise<void>
This method deletes an address by its ID.
Example
Parameters
ids
stringRequiredThe IDs of the cart.
Returns
Promise
Promise<void>RequiredResolves when the address are deleted successfully.
Was this section helpful?