IdAddresses
Get Customer Addresses
Get all addresses for a customer, based off the customer GUID. Authorize using a JWT token passed in the HEADER.
GET
/v1/customers/{id}/addresses
AuthorizationBasic <token>
Basic Authorization header using the Bearer scheme.
In: header
Authorization<token>
JWT Authorization header using the Bearer scheme.
In: header
Path Parameters
idstring
Query Parameters
emailAddress?string
Response Body
curl -X GET "https://loading/v1/customers/string/addresses?emailAddress=string"
{
"success": true,
"message": "string",
"addresses": [
{
"firstName": "string",
"lastName": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"country": "string",
"postCode": "string",
"countryName": "string",
"title": "string",
"type": "string",
"companyName": "string",
"contactNumber": "string"
}
]
}
{
"message": "string",
"code": 0
}
{
"succeeded": true,
"errors": [
{
"message": "string"
}
]
}
How is this guide?