Customers
Get Customer Data
Gets customer data from the db. Authorize with basic auth
GET
/v1/batches/customers
AuthorizationBasic <token>
Basic Authorization header using the Bearer scheme.
In: header
Authorization<token>
JWT Authorization header using the Bearer scheme.
In: header
Query Parameters
dateFrom?string
dateTo?string
registered?boolean
blocked?boolean
thirdParties?boolean
emailBroadcasts?boolean
catalogMailing?boolean
Response Body
curl -X GET "https://loading/v1/batches/customers?dateFrom=string&dateTo=string®istered=true&blocked=true&thirdParties=true&emailBroadcasts=true&catalogMailing=true"
{
"clientCustomerId": "string",
"dateModified": "2019-08-24T14:15:22Z",
"dob": "2019-08-24T14:15:22Z",
"title": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"mobile": "string",
"source": "string",
"registered": true,
"blocked": true,
"thirdPartySignUp": true,
"emailBroacastSignUp": true,
"catalogMailingSignUp": true,
"addresses": [
{
"addressType": "string",
"companyName": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"postcode": "string",
"state": "string"
}
]
}
{
"succeeded": true,
"errors": [
{
"message": "string"
}
]
}
{
"message": "string",
"code": 0
}
{
"succeeded": true,
"errors": [
{
"message": "string"
}
]
}
How is this guide?