curl -X GET "https://api.chariow.com/v1/customers?per_page=20&search=john" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"message": "success",
"data": {
"data": [
{
"id": "cus_abc123xyz",
"name": "John Doe",
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com",
"avatar_url": "https://cdn.chariow.com/avatars/abc123.jpg",
"phone": {
"number": "+1 234 567 890",
"country": {
"name": "United States",
"code": "US",
"alpha_3_code": "USA",
"dial_code": "+1",
"currency": "USD",
"flag": "πΊπΈ"
}
},
"store": {
"id": "str_xyz789",
"name": "My Digital Store",
"logo_url": "https://cdn.chariow.com/stores/xyz789/logo.png",
"url": "https://mystore.chariow.link"
},
"created_at": "2025-01-15T10:30:00+00:00",
"updated_at": "2025-01-20T14:45:00+00:00"
}
],
"pagination": {
"next_cursor": "eyJpZCI6NTB9",
"prev_cursor": null,
"has_more": true
}
},
"errors": []
}
Customers
List Customers
Retrieve all customers from your store
curl -X GET "https://api.chariow.com/v1/customers?per_page=20&search=john" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"message": "success",
"data": {
"data": [
{
"id": "cus_abc123xyz",
"name": "John Doe",
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com",
"avatar_url": "https://cdn.chariow.com/avatars/abc123.jpg",
"phone": {
"number": "+1 234 567 890",
"country": {
"name": "United States",
"code": "US",
"alpha_3_code": "USA",
"dial_code": "+1",
"currency": "USD",
"flag": "πΊπΈ"
}
},
"store": {
"id": "str_xyz789",
"name": "My Digital Store",
"logo_url": "https://cdn.chariow.com/stores/xyz789/logo.png",
"url": "https://mystore.chariow.link"
},
"created_at": "2025-01-15T10:30:00+00:00",
"updated_at": "2025-01-20T14:45:00+00:00"
}
],
"pagination": {
"next_cursor": "eyJpZCI6NTB9",
"prev_cursor": null,
"has_more": true
}
},
"errors": []
}
Retrieves a cursor-paginated list of all customers in your store. Customers are created automatically when they make a purchase. This endpoint supports search filtering and date range filtering.
Query Parameters
Number of customers to return per page (max 100)
Cursor for pagination. Use the
next_cursor from the previous response.Search customers by name, email, or phone number
Filter customers created from this date (Y-m-d format, e.g.,
2025-01-01)Filter customers created until this date (Y-m-d format, e.g.,
2025-01-31)Response
Show properties
Show properties
Array of customer objects
Show customer object
Show customer object
Unique customer identifier (e.g.,
cus_abc123xyz)Customer full name (combination of first and last name)
Customer first name
Customer last name
Customer email address
URL to the customerβs avatar image
Customer phone number
Show phone object
Show phone object
International formatted phone number (e.g.,
+1 234 567 890)ISO 8601 timestamp of when the customer was created
ISO 8601 timestamp of when the customer was last updated
curl -X GET "https://api.chariow.com/v1/customers?per_page=20&search=john" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"message": "success",
"data": {
"data": [
{
"id": "cus_abc123xyz",
"name": "John Doe",
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com",
"avatar_url": "https://cdn.chariow.com/avatars/abc123.jpg",
"phone": {
"number": "+1 234 567 890",
"country": {
"name": "United States",
"code": "US",
"alpha_3_code": "USA",
"dial_code": "+1",
"currency": "USD",
"flag": "πΊπΈ"
}
},
"store": {
"id": "str_xyz789",
"name": "My Digital Store",
"logo_url": "https://cdn.chariow.com/stores/xyz789/logo.png",
"url": "https://mystore.chariow.link"
},
"created_at": "2025-01-15T10:30:00+00:00",
"updated_at": "2025-01-20T14:45:00+00:00"
}
],
"pagination": {
"next_cursor": "eyJpZCI6NTB9",
"prev_cursor": null,
"has_more": true
}
},
"errors": []
}
Was this page helpful?
βI