List customers
GET/openapi/2025-06/customers
Retrieve a list of all customers with pagination.
Request
Query Parameters
The cursor for pagination
The number of customers to retrieve per page. The default is 10, and the maximum is 250
A list of customer IDs. Example: ?ids=1001&ids=1002
Retrieve customers created after this date. It's in UTC (0 timezone), formatted as ISO-8601
Retrieve customers created before this date. It's in UTC (0 timezone), formatted as ISO-8601
Retrieve customers last updated after this date. It's in UTC (0 timezone), formatted as ISO-8601
Retrieve customers last updated before this date. It's in UTC (0 timezone), formatted as ISO-8601
Filter customers by email
Filter customers by contact information (email or phone)
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
- Array [
- ]
- ]
error code
error message
data object
customers object[]
List of customers
Customer ID
Customer's email address
Timestamp when the customer was created, in ISO8601 format
Timestamp when the customer was last updated, in ISO8601 format
Customer's first name
Customer's last name
Customer's phone number
Tags associated with the customer
Full name of the customer
Area code of the phone number
Contact type, either email or phone
Customer's SMS subscription status flag
addresses object[]
List of all customer addresses
Address ID
ID of the customer this address belongs to
First name of the consignee
Last name of the consignee
Company name
City of the address
Province or state of the address
Country name of the address
Postal or ZIP code
Province code
ISO country code
Gender of the consignee
Phone number associated with the address
Area code of the phone number
Area or region of the address
Email associated with the address
Full name of the consignee
Primary street address
Secondary street address
Full name of the country
Indicates if this is the default address
Indicates if the customer is subscribed to marketing emails
Source of the customer data
Indicates if the customer is exempt from taxes
Indicates if the customer is registered
Number of orders placed by the customer
First order timestamp
Timestamp of the customer's last order
Total amount spent by the customer
Customer's marketing subscription status flag
Indicates if the customer is subscribed to SMS marketing campaigns
The cursor for the next page of results
Whether there are more records
{
"code": "string",
"message": "string",
"data": {
"customers": [
{
"id": "string",
"email": "string",
"created_at": "string",
"updated_at": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"tags": [
"string"
],
"name": "string",
"phone_area_code": "string",
"contact_type": "string",
"sms_subscribed_flag": 0,
"addresses": [
{
"id": "string",
"customer_id": "string",
"first_name": "string",
"last_name": "string",
"company": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"province_code": "string",
"country_code": "string",
"gender": "string",
"phone": "string",
"phone_area_code": "string",
"area": "string",
"email": "string",
"name": "string",
"address1": "string",
"address2": "string",
"country_name": "string",
"default": true
}
],
"accepts_marketing": true,
"source": "string",
"free_tax": true,
"registered": true,
"orders_count": 0,
"first_order_at": "string",
"last_order_at": "string",
"total_spent": "string",
"subscribed_flag": 0,
"accepts_sms_marketing": true
}
],
"cursor": "string",
"has_more": true
}
}