List customers
GET
header
x-api-key<token>Organization-scoped API key with scope metadata.
page?integerRange
0 < value <= 9007199254740991perPage?integerRange
0 < value <= 200search?stringsortField?stringcreatedAt: when the customer was added. spent: what they've paid across their orders, less refunds.
Value in
"createdAt""spent"sortDirection?stringValue in
"asc""desc"Success
application/json- response
items*array<>total*numberpage*numberperPage*numberhasMore*booleancurl -X GET 'https://api-prood.vercel.app/v1/admin/customers'Example Response
{ "items": [ { "id": "string", "email": "string", "firstName": "string", "lastName": "string", "phone": "string", "addresses": [ { "id": "string", "firstName": "string", "lastName": "string", "phone": "string", "street": "string", "street2": "string", "city": "string", "state": "string", "country": "string", "postalCode": "string", "isDefault": true } ], "defaultAddressId": "string", "createdAt": "string", "updatedAt": "string", "orderCount": -9007199254740991, "spent": 0 } ], "total": 0, "page": 0, "perPage": 0, "hasMore": true}