Id
Get all details
Get all the data for the customer, based off the customer GUID. Authorize using JWT in the header.
GET
/v1/customers/{id}
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
Response Body
curl -X GET "https://loading/v1/customers/string"
{
"dob": "2019-08-24T14:15:22Z",
"firstName": "string",
"customerGuid": "string",
"lastName": "string",
"addresses": [
{
"firstName": "string",
"lastName": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"postCode": "string",
"countryName": "string",
"customerAddressBookId": 0,
"title": "string",
"type": "string",
"companyName": "string",
"contactNumber": "string",
"countryIso": "string"
}
],
"orders": [
{
"reference": "string",
"total": 0.1,
"dateModified": "2019-08-24T14:15:22Z",
"status": "string",
"trackingNumber": "string",
"currencyId": 0,
"orderId": 0,
"trackingUrl": "string"
}
],
"storeId": 0,
"emailAddress": "string",
"mobileNumber": "string",
"preferredStore": "string",
"title": "string",
"subscribed": true,
"orderItems": [
{
"title": "string",
"image": "string",
"price": 0.1,
"orderId": 0,
"size": "string",
"quantity": 0,
"productCode": "string"
}
],
"phone": "string",
"gender": 0,
"errors": [
{
"success": true,
"errors": [
{
"description": "string"
}
]
}
]
}
{
"message": "string",
"code": 0
}
{
"succeeded": true,
"errors": [
{
"message": "string"
}
]
}
How is this guide?