- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateOrderAddresses - Order Module Reference
This documentation provides a reference to the updateOrderAddresses
method. This belongs to the Order Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
updateOrderAddresses(data, sharedContext?): Promise<OrderAddressDTO[]>#
This method updates existing addresses. The address ID is specified in each address object.
Example#
Parameters#
data
UpdateOrderAddressDTO[]The attributes to update in the address.
data
UpdateOrderAddressDTO[]Returns#
Promise
Promise<OrderAddressDTO[]>The updated addresses.
Promise
Promise<OrderAddressDTO[]>updateOrderAddresses(data, sharedContext?): Promise<OrderAddressDTO>#
This method updates an existing address.
Example#
Parameters#
The attributes to update in the address.
Returns#
Promise
Promise<OrderAddressDTO>The updated address.
Promise
Promise<OrderAddressDTO>Was this page helpful?