Customers
Export customers as CSV (same search and filters as the list)
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
Query Parameters
q?string
Length
length <= 200sort?string
Default
"recent"Value in
- "recent"
- "spend"
- "orders"
- "email"
- "discord"
- "newsletter"
- "created"
- "last_order"
- "balance"
dir?string
Default
"desc"Value in
- "asc"
- "desc"
id?string
Customer id (the full id or the last 8 characters)
Length
length <= 60discordId?string
Length
length <= 40affiliateCode?string
Customers who own this affiliate code
Length
length <= 60referrerEmail?string
Customers referred by the affiliate with this email
Length
length <= 200account?string
Value in
- "account"
- "guest"
buyers?string
Value in
- "buyers"
- "no_orders"
page?integer
Range
1 <= value <= 9007199254740991Default
1perPage?integer
Range
1 <= value <= 200Default
25Response Body
application/json
application/json
curl -X GET "https://example.com/v1/stores/string/customers/export.csv"Empty