latestOpenAPI 3.0.02026-08-101013821017.9 KB
4b69392f93b9
Addresses
Get an address by ID
To get an address by ID, specify the ID of the address in the {id} URI path parameter.
get/v1/shoppers/me/addresses/{addressId}
Path parameters
addressIdstring required
The address ID.
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
{
"address": {
"uri": "https://api.digitalriver.com/v1/shoppers/me/addresses/1234567890",
"id": 1655007697,
"nickName": "test",
"isDefault": "true",
"firstName": "Jon",
"lastName": "Doe",
"line1": "10380 Bren Road West",
"city": "Minnetonka",
"countrySubdivision": "MN",
"postalCode": "55343",
"country": "US",
"countryName": "United States",
"phoneNumber": "952-253-1234",
"phoneticFirstName": "クリス",
"phoneticLastName": "ミラー",
"division": "製品開発"
}
}