Returns a list of customers. The customers are returned sorted by creation date, with the most recent customers appearing first.
| Type | Method |
|---|---|
GET |
https://assignment.sunergetic.nl/api/v1/customers |
GET Headers{
"Accept" : "application/json",
"Content-Type" : "application/x-www-form-urlencoded",
"token" : "{TOKEN}"
}
{
"data": [
{
"id": 45,
"email": "tdekeijser@erdogan.com",
"firstname": "Simon",
"lastname": "van der Meulen",
"address": "Vermeulenbaan 178\n1339VJ Zuidwolde",
"zipcode": "3439LB",
"city": "Lucaswolde",
"phone": "+316-75399935",
"created_at": "2022-08-31T07:39:53.000000Z",
"updated_at": "2022-08-31T07:39:53.000000Z"
},
{
"id": 32,
"email": "luuk88@vanderlaan.com",
"firstname": "Frederique",
"lastname": "van Egisheim",
"address": "Aslanhof 7613\n4142WE De Klomp",
"zipcode": "5645KR",
"city": "Zwijndrecht",
"phone": "0900 575855",
"created_at": "2022-08-31T07:39:53.000000Z",
"updated_at": "2022-08-31T07:39:53.000000Z"
}
],
"pagination": {
"current_page": 1,
"lastPage": 2,
"per_page": 10,
"next_page_url": "https://assignment.sunergetic.nl/api/v1/customers?page=2",
"prev_page_url": null,
"total": 2
}
}