AddressesResource
addresses.AddressesResource
Methods
addAddress
addAddress(payload
, customHeaders?
): ResponsePromise
<StoreCustomersRes
>
Adds an address to a customers saved addresses
Parameters
contains information to create an address
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<StoreCustomersRes
>
deleteAddress
deleteAddress(address_id
, customHeaders?
): ResponsePromise
<StoreCustomersRes
>
Deletes an address of a customer
Parameters
address_id
stringRequiredid of the address to delete
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<StoreCustomersRes
>
updateAddress
updateAddress(address_id
, payload
, customHeaders?
): ResponsePromise
<StoreCustomersRes
>
Update an address of a customer
Parameters
address_id
stringRequiredid of customer
address update
customHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<StoreCustomersRes
>
Was this section helpful?