Skip to main content
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.
Required scopes: customers.read and customers.pii.read. Granting customers.pii.read alone is enough, as it includes customers.read. A key without them receives a 403 error. See Authentication.

Query Parameters

integer
default:"10"
Number of customers to return per page (1 to 100). A value above 100 returns a 422 validation error.
string
Cursor for pagination. Use the next_cursor from the previous response.
Search customers by first name, last name, email or phone number
string
Only return customers created on or after this date (Y-m-d format, e.g., 2025-01-01)
string
Only return customers created on or before this date (Y-m-d format, e.g., 2025-01-31). Must not be earlier than from.
string
Shortcut for a date range, used instead of from and to: today, yesterday, last7days, last30days, thisWeek, lastWeek, thisMonth, lastMonth, thisYear or lastYear
Customers are returned newest first. start_date and end_date are not supported and are silently ignored: use from and to.

Response

array
Array of customer objects
object
Cursor pagination metadata