This endpoint retrieves a list of all customers with support for pagination, filtering, and including related data.Documentation Index
Fetch the complete documentation index at: https://developer.clopos.com/llms.txt
Use this file to discover all available pages before exploring further.
There is no
search parameter on this endpoint. To find customers by name
or phone, use the filters parameter described below.HTTP Request
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. 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 Examples: - 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]=15551234567Request Examples
Response Example
Field Reference
Customer Object
| Field | Type | Description |
|---|---|---|
id | integer | Unique customer identifier. |
cid | string | UUID identifier for the customer. |
venue_id | integer | The venue this customer belongs to. |
group_id | integer | The ID of the customer group they belong to. |
name | string | Customer’s full name. |
email | string (nullable) | Customer’s email address. |
phone | string (nullable) | Primary phone number. |
phones | array | Additional phone numbers. |
address | string (nullable) | Customer’s address. |
address_data | array | Structured address entries with type, source, and formatted address. |
description | string (nullable) | Additional notes about the customer. |
discount | number | Customer-level discount value. |
spent | number | Total amount spent by the customer. |
total_discount | number | Total discount amount received across all receipts. |
total_bonus | number | Total bonus amount used. |
receipt_count | integer | Total number of receipts for the customer. |
gender | integer (nullable) | Gender: 1 = male, 2 = female, null = unspecified. |
date_of_birth | string (nullable) | Date of birth in YYYY-MM-DD format. |
code | string (nullable) | Customer code/identifier. |
source | string (nullable) | Where the customer was created from (e.g., LOYALTY). |
reference_id | string (nullable) | External reference ID for third-party integrations. |
status | boolean | Whether the customer account is active. |
can_use_loyalty_system | boolean | Whether the customer is enrolled in the loyalty system. |
is_verified | boolean | Whether the customer’s identity has been verified. |
created_at | string | Timestamp when the customer was created (ISO 8601). |
updated_at | string | Timestamp when the customer was last updated (ISO 8601). |
Notes
- Filterable fields:
name(partial match),phones(searches across all phone numbers),group_id(exact match). Note: usephones(plural) — the singularphonefield is not filterable. - Sortable fields:
id,cid,group_id,name,email,address,created_at,updated_at. - The
searchquery parameter is listed in some older references but is not implemented — usefiltersinstead.