curl --request GET \
--url https://api.chift.eu/consumers/{consumer_id}/commerce/customers \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>",
"email": "<string>",
"language": "<string>",
"internal_notes": "<string>",
"currency": "<string>",
"addresses": [
{
"address_type": "main",
"company_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"street": "<string>",
"number": "<string>",
"box": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "<string>",
"phone": "<string>",
"email": "<string>"
}
],
"created_on": "2023-11-07T05:31:56Z"
}
],
"total": 1,
"page": 2,
"size": 2
}
Returns a list of all the customers
curl --request GET \
--url https://api.chift.eu/consumers/{consumer_id}/commerce/customers \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "<string>",
"source_ref": {
"id": "<string>",
"model": "<string>"
},
"first_name": "<string>",
"last_name": "<string>",
"phone": "<string>",
"email": "<string>",
"language": "<string>",
"internal_notes": "<string>",
"currency": "<string>",
"addresses": [
{
"address_type": "main",
"company_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"street": "<string>",
"number": "<string>",
"box": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "<string>",
"phone": "<string>",
"email": "<string>"
}
],
"created_on": "2023-11-07T05:31:56Z"
}
],
"total": 1,
"page": 2,
"size": 2
}
This access token needs to be included in each of your request to the Chift API.
Page number
x >= 1
Page size
1 <= x <= 100
Successful Response
The response is of type object
.