- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
updateAddresses - Cart Module Reference
This documentation provides a reference to the updateAddresses
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.
updateAddresses(data, sharedContext?): Promise<CartAddressDTO[]>#
This method updates existing addresses.
Example#
Parameters#
data
UpdateAddressDTO[]The attributes to update in the addresss.
data
UpdateAddressDTO[]Returns#
Promise
Promise<CartAddressDTO[]>The updated addresses.
Promise
Promise<CartAddressDTO[]>updateAddresses(data, sharedContext?): Promise<CartAddressDTO>#
This method updates an existing address.
Example#
Parameters#
data
UpdateAddressDTOThe attributes to update in the address.
data
UpdateAddressDTOReturns#
Promise
Promise<CartAddressDTO>The updated address.
Promise
Promise<CartAddressDTO>Was this page helpful?