Customers with order counts (customers:read; contact masked without customers:pii)
GET
/agent/customers
Authorizations
agentKey
Clé agent créée par le propriétaire de la marketplace (Sources › Réglages communs › Clés API). Authorization: Bearer mk_live_… ou X-Api-Key. Lecture seule, limitée aux portées choisies, valable uniquement sur /agent/*.
Type
HTTP (bearer)
Parameters
Query Parameters
q
Last-name prefix (and e-mail / phone with customers:pii)
Type
string
since
Inclusive lower bound (ISO 8601)
Type
string
Format
"date-time"until
Exclusive upper bound (ISO 8601)
Type
string
Format
"date-time"limit
Type
integer
Minimum
1Maximum
100Default
25cursor
meta.nextCursor of the previous page
Type
string
Responses
Customers
application/json
JSON "ok": true, "data": "string", "meta": { "nextCursor": "string" }
{
}