Cet endpoint permet de lister l’ensemble des clients d’une enseigne ETT, il offre aussi la possibilité de filtrer par agence.
Paramètre du filtre :
agencyIds : id agence
Requête :
curl -X 'GET' \
'https://api.peopulse.com/api/v1/customers' \
-H 'accept: application/json' \
-H 'Authorization: Bearer Your_TOKEN"
Résultat :
{
"meta": {
"pagination": {
"maxPage": 1,
"page": 1,
"limit": 200,
"total": 2
}
},
"data": [
{
"id": "2291",
"label": "ACRO 14",
"cgName": RHIO_ACRO,
"type": "catchim",
"enId": null
},
{
"id": "4309",
"label": "EQUIPEMENTS ELEC",
"cgName": RHIO_ELEC,
"type": "catchim",
"enId": null
}
]
}