Referencia APIv1Customers
List customers
X-API-Key<token>
Per-store API key created in the dashboard at Settings > Developer > API Keys.
In: header
Query Parameters
page?integer
Default
1Range
1 <= valueper_page?integer
Default
25Range
1 <= value <= 100sort?string
Default
"created_at"Value in
"name" | "created_at" | "updated_at" | "orders_count" | "total_spent" | "last_order_at"order?string
Default
"desc"Value in
"asc" | "desc"search?string
total_spent[gte]?number
Minimum value for total_spent
Range
0 <= valuetotal_spent[lte]?number
Maximum value for total_spent
Range
0 <= valueorders_count[gte]?number
Minimum value for orders_count
Range
0 <= valueorders_count[lte]?number
Maximum value for orders_count
Range
0 <= valuelast_order_at[gte]?string
Start of date range for last_order_at (ISO 8601)
Format
date-timelast_order_at[lte]?string
End of date range for last_order_at (ISO 8601)
Format
date-timehas_orders?string
When true, return only customers with at least one order. When false, only customers with zero orders.
Value in
"true" | "false"Response Body
application/json
curl -X GET "https://api.whatalo.com/v1/customers"{
"data": [
{
"id": "365047281936",
"name": "María García",
"email": "[email protected]",
"phone": "+18091234567",
"notes": "string",
"has_email": true,
"has_phone": true,
"display_contact": "[email protected]",
"created_at": "string",
"updated_at": "string",
"orders_count": 12,
"total_spent": 1500.5,
"last_order_at": "2026-04-15T14:30:00Z",
"last_order_id": "order_pubid_xyz"
}
],
"pagination": {
"page": 1,
"per_page": 25,
"total": 100,
"total_pages": 4
}
}