Get Customer Address
The Get Customer Address API returns the address details of a certain customer, if the Address ID is known. The Address ID is often part of the data returned by most Get Order and Get Shipment, designated within the data block for shipping address information.
However, it’s important to note that the IDs returned from those calls apply only to the particular shipment. The Customer Address API allows a customer’s usual address to be obtained without relying on a particular shipment. If the Address ID is not known, then an Address Search can be used instead with the Customer ID as a parameter.
The .json address above can be used to access the schema within Postman. An example use of the Customer Address API follows below, or view the schema or the sample Postman collection.
In this example, the customer details includes these particular properties:
- Address ID 0123456
- Both a valid billing and shipping address for Customer 000000
The response returns the following information about a customer address:
- Identification (address ID, customer ID and names)
- Contact Information (phone)
- Street Address
- Account Activity Flag (active, inactive, or frozen and fraudlock status)
- Address Type (billing or shipping)
The Full Request
Using the URL format as outlined in the table above, the entire call is simple to put together.
The Full Response
This is the full response returned by the API.
"addressLine1": "000 TEST LN",