- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
deleteAddresses - Cart Module Reference
This documentation provides a reference to the deleteAddresses
method. This belongs to the Cart Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
deleteAddresses(ids, sharedContext?): Promise<void>#
This method deletes addresses by their IDs.
Example#
Parameters#
ids
string[]The IDs of the cart.
Returns#
Promise
Promise<void>Resolves when the addresses are deleted successfully.
deleteAddresses(ids, sharedContext?): Promise<void>#
This method deletes an address by its ID.
Example#
Parameters#
ids
stringThe IDs of the cart.
Returns#
Promise
Promise<void>Resolves when the address are deleted successfully.
Was this page helpful?