novinzodevelopers
API referenceCore for pluginsCustomers

List

GET/api/customers

The store's customers, newest first, at most 100 a page: each with their email, whether they verified it, when they joined and how many of their orders were paid for. createdAfter (inclusive) and createdBefore (exclusive) bound when they joined. Pass a page's nextCursor back as cursor, with the same filters, for the page after it; it is null on the last page. Customers who join while you page through are newer than the first page, so the pages after it neither skip nor repeat a customer. Requires the store to have granted the plugin customers:list.

Query Parameters

createdAfter?string|null
createdBefore?string|null
cursor?string|null
limit?string|null

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/customers"
{  "items": [    {      "id": "string",      "email": "string",      "emailVerified": true,      "createdAt": "string",      "paidOrderCount": -9007199254740991    }  ],  "nextCursor": "string"}