Follow

GET /customers/{customerId}/addresses

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"
            }
      ]
}