List Customers
GET/api/storefront/instances/:id/customers
List the store's buyers. The Store API has no customers endpoint, so customers are mirrored from the customer block of every imported order: one row per store customer id (or per email for a guest checkout), with contact details and address taken from the buyer's most recent order.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Each row carries the buyer's order count, total spent (cancelled and refunded orders excluded), first and last order dates, and their SKU.io customer (sku_customer_id): the one on their latest SKU.io sales order, or, before any exists, the SKU.io customer with the same email (null when there is none yet).
Authentication: Bearer token.
Paginated (default 10 per page, max 200). Default sort: most recent order first.
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.