Follow

GET /customers/{customerId}/addresses

This API endpoint uses pagination.

Customer Addresses are limited to 50 per customer, however if the limit parameter is submitted with a value less than 50, the pagination will be triggered.


To ensure all query results are received when using the limit parameter on this endpoint, make sure to read our Pagination article.

Get all addresses for the specified customer. Returns a results array with address objects.

Example Response

{
      "results": [
            {
                  "addressId": 919, 
                  "uri": "https://api.payjunction.com/customers/2/addresses/919", 
                  "address": "1234 Seattle Columbia Center", 
                  "city": "Seattle", 
                  "state": "WA", 
                  "country": "United States", 
                  "zip": "85284", 
                  "created": "2013-11-20T16:45:32Z", 
                  "lastModified": "2013-11-20T16:45:32Z"
            }, 
            {
                  "addressId": 814, 
                  "uri": "https://api.payjunction.com/customers/2/addresses/814", 
                  "address": "805 Amphitheatre Parkway", 
                  "city": "Mountain View", 
                  "state": "CA", 
                  "zip": "94043", 
                  "created": "2013-11-14T20:31:25Z", 
                  "lastModified": "2013-11-14T20:31:25Z"
            }, 
            {
                  "addressId": 3, 
                  "uri": "https://api.payjunction.com/customers/2/addresses/3", 
                  "address": "1903 State Street", 
                  "zip": "93101", 
                  "created": "2013-09-27T21:36:59Z", 
                  "lastModified": "2013-09-27T21:36:59Z"
            }
      ]
}