Customers
List customers
List your customers, newest first.
GET/v1/customers
Parameters
| Parameter | Description |
|---|---|
| provisionalboolean | null · queryoptional | Filter by whether the customer ever completed a payment. `false` returns real customers only; `true` returns abandoned checkouts (useful for cart-recovery email); omit to return both. |
| limitinteger · queryoptional | Defaults to 10. Between 1 and 100. |
| starting_afterstring | null · queryoptional | At most 128 characters. |
| expandstring | null · queryoptional | At most 256 characters. |
Cursor-paginated. limit caps a page and starting_after takes the last id you
saw.
Returns
Returns a page of CustomerResponse objects. data holds the page and has_more says whether another one exists. Page forward by passing the last id of the page as starting_after; a short page is not the end of the list.
Errors
| Status | Cause |
|---|---|
| 401 | Missing or invalid API key. |
| 403 | Key is missing the customers:read scope. |
| 422 | Validation Error |
| 429 | Rate limited. Back off and retry. |
Other customers operations
- Create a customer POST /v1/customers
- Delete customer DELETE /v1/customers/{customer_id}
- Retrieve a customer GET /v1/customers/{customer_id}
- Update customer POST /v1/customers/{customer_id}
- Purge customer POST /v1/customers/{customer_id}/purge
- Set customer VAT number POST /v1/customers/{customer_id}/vat_number
BillKit