cURL
curl --request GET \ --url https://api.chift.eu/consumers/{consumer_id}/pms/customers \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": "<string>", "source_ref": { "id": "<string>", "model": "<string>" }, "first_name": "John", "last_name": "Doe", "company_name": "Acme Corp", "phone": "+1234567890", "email": "john.doe@example.com", "account_number": "701000", "created_on": "2023-09-25T12:00:00", "addresses": [ { "address_type": "home", "name": "Home", "street": "Main Street", "number": "123", "box": "A", "city": "Paris", "postal_code": "75000", "country": "FR" } ] } ], "total": 1, "page": 2, "size": 2 }
Returns a list of all the customers
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.
object