Addresses
Get all shopper addresses
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.
get/v1/shoppers/me/addresses
Query parameters
tokenstring
Provide the authorized token for the shopper.
expandstring
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.
fieldsstring
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.
Response
Successful response.
Example response
{
"addresses": {
"uri": "https://api.digitalriver.com/v1/shoppers/me/addresses",
"address": [
{
"uri": "https://api.digitalriver.com/v1/shoppers/me/addresses/1234567890",
"nickName": "test",
"isDefault": "true"
}
]
}
}