Addresses
Last updated
Last updated
To get an address by ID, specify the ID of the address in the {id} URI path parameter.
/v1/shoppers/me/addresses/{addressId}
The address ID.
Provide the authorized token for the shopper.
Use the expand query parameter when you want additional fields to appear in the response. The expand query parameter provides more fields in the response. Expanding resources reduces the number of API calls required to accomplish a task.
Specify the fields that you want to appear in the response. Filtering the fields returned in the response can conserve bandwidth and accelerate response time.
To delete the shopper's address, specify the of the address ID in the {id} URI path parameter. No warning message appears if you delete the last address linked to the shopper.
/v1/shoppers/me/addresses/{addressId}
The address ID.
Provide the authorized token for the shopper.
No body
Retrieve all addresses configured for a shopper, such as home and work addresses. If you need to access a billing or shipping address, use the methods available in the Carts API.
/v1/shoppers/me/addresses
Provide the authorized token for the shopper.
Use the expand query parameter when you want additional fields to appear in the response. The expand query parameter provides more fields in the response. Expanding resources reduces the number of API calls required to accomplish a task.
Specify the fields that you want to appear in the response. Filtering the fields returned in the response can conserve bandwidth and accelerate response time.
Creates or updates a shopper's address. An address entry must have a unique nickname. If a current address has the same nickname specified in the request, that address is updated; otherwise, a new address is created.
/v1/shoppers/me/addresses
Provide the authorized token for the shopper.
Use the expand query parameter when you want additional fields to appear in the response. The expand query parameter provides more fields in the response. Expanding resources reduces the number of API calls required to accomplish a task.
Specify the fields that you want to appear in the response. Filtering the fields returned in the response can conserve bandwidth and accelerate response time.
No body