List all customers
Retrieve a list of customers for the authenticated workspace.
Authorizations
Default authentication mechanism
Query Parameters
A case-sensitive filter on the list based on the customer's email
field. The value must be a string. Takes precedence over externalId
.
A case-sensitive filter on the list based on the customer's externalId
field. The value must be a string. Takes precedence over search
.
A search query to filter customers by email, externalId, or name. If email
or externalId
is provided, this will be ignored.
A filter on the list based on the customer's country
field.
A filter on the list based on the customer's linkId
field (the referral link ID).
Whether to include expanded fields on the customer (link
, partner
, discount
).
The field to sort the customers by. The default is createdAt
.
createdAt
, saleAmount
The sort order. The default is desc
.
asc
, desc
The page number for pagination.
x > 0
1
The number of items per page.
0 < x <= 100
50
Response
The list of customers.
The response is of type object[]
.