updateAddresses - Customer Module Reference
This documentation provides a reference to the updateAddresses
method. This belongs to the Customer Module.
updateAddresses(addressId, data, sharedContext?): Promise<CustomerAddressDTO>
This method updates an address.
Example
Parameters
addressId
stringRequiredThe address's ID.
The attributes to update in the address.
Returns
The updated address.
updateAddresses(addressIds, data, sharedContext?): Promise<CustomerAddressDTO[]>
This method updates existing addresses.
Example
Parameters
addressIds
string[]RequiredThe IDs of addresses to update.
The attributes to update in the addresses.
Returns
The updated addresses.
updateAddresses(selector, data, sharedContext?): Promise<CustomerAddressDTO[]>
This method updates existing addresses matching the specified filters.
Example
Parameters
The filters that specify which address should be updated.
The attributes to update in the addresses.
Returns
The updated addresses.
Was this section helpful?