List customers
const url = 'https://api.oletapp.com/your-store/v1/customers?limit=50&order=asc&include_deleted=false';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.oletapp.com/your-store/v1/customers?limit=50&order=asc&include_deleted=false' \ --header 'Authorization: Bearer <token>'A delta-sync polling list: poll with the returned next_cursor to see only what changed.
Filter by exact email (case-insensitive), phone, or customer_code. The walk-in system customer is included, flagged is_walk_in.
Requires scope: customers:read
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Opaque. Pass back the exact next_cursor value from a previous response; never construct one. A cursor that fails to decode is 400 VALIDATION_FAILED, in every order mode.
Opaque. Pass back the exact next_cursor value from a previous response; never construct one. A cursor that fails to decode is 400 VALIDATION_FAILED, in every order mode.
Exact email match (case-insensitive).
Exact email match (case-insensitive).
Exact phone match.
Exact phone match.
Exact customer_code match.
Exact customer_code match.
Responses
Section titled “Responses”List customers
object
object
YYYY-MM-DD, or null.
Read-only. Set only through the admin UI or a DSAR request, never through this API.
True for the retailer’s single system walk-in customer.
The customer’s account credit limit. Integer minor units (cents).
Opaque delta-sync version. Increases with every change; use it to detect updates.
object
ISO-8601 timestamp of the deletion.
The id of the deleted resource.
The delta-sync version this tombstone was recorded at.
Opaque pagination cursor. Pass back as ?cursor= to fetch the next page.
Examplegenerated
{ "data": [ { "address_1": "example", "address_2": "example", "city": "example", "company_name": "example", "country": "example", "created_at": "2026-04-15T12:00:00Z", "custom_field_1": "example", "custom_field_2": "example", "custom_field_3": "example", "custom_field_4": "example", "customer_code": "example", "customer_group_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "date_of_birth": "example", "do_not_sell_share": true, "dont_email": true, "dont_sms": true, "email": "example", "enable_loyalty": true, "first_name": "example", "gender": "example", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "is_walk_in": true, "last_name": "example", "mobile": "example", "note": "example", "on_account_limit": 1, "phone": "example", "state": "example", "tax_id": "example", "updated_at": "2026-04-15T12:00:00Z", "version": "example", "website": "example", "zipcode": "example" } ], "has_more": true, "next_cursor": "example"}default
Section titled “default”An error response.
object
object
A machine-readable error code, e.g. VALIDATION_FAILED.
object
A plain-English sentence describing what went wrong.
Example
{ "error": { "code": "UNAUTHORIZED" }}