HTTP Request
Authorization
Include the following headers:x-token
Query Parameters
Page number for pagination (1-based).
Number of customers to return per page (1-999).
Include related data in the response. Supported values:
group, balance, cashback_balance. You can include multiple with parameters.Filter customers by specific fields. Filters use array notation:
filters[0][0]=field_name&filters[0][1]=value. Multiple filters can be combined using different indices (e.g., filters[0], filters[1]).Supported filter fields:name: Filter by customer name (partial match)phones: Filter by phone number (searches in all phone numbers)group_id: Filter by customer group ID
- Filter by name:
filters[0][0]=name&filters[0][1]=John - Filter by phone:
filters[0][0]=phones&filters[0][1]=15551234567 - Multiple filters:
filters[0][0]=name&filters[0][1]=John&filters[1][0]=phones&filters[1][1]=15551234567
Request Examples
Response Example
Customer Object
| Field | Type | Description |
|---|---|---|
id | integer | The unique identifier for the customer. |
name | string | The name of the customer. |
phone | string | The primary phone number of the customer. |
email | string | null | The email address of the customer. |
group_id | integer | The ID of the customer group they belong to. |
balance | object | Contains details about the customer’s store credit balance. |
cashback_balance | object | Contains details about the customer’s cashback balance. |
spent | number | The total amount spent by the customer. |
receipt_count | integer | The total number of receipts for the customer. |
group | object | An object containing details of the customer’s group. |
addresses | array | An array of the customer’s saved addresses. |
status | boolean | The status of the customer account. |
created_at | string | The timestamp when the customer was created. |