cURL
basic
curl --request POST \ --url https://app.tagadapay.com/api/public/v1/customers/list \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "page": 1, "pageSize": 20, "sortBy": { "field": "createdAt", "direction": "desc" } } '
{ "items": [ { "id": "cus_123", "storeId": "store_123", "storeName": "My Store", "email": "[email protected]", "firstName": "John", "lastName": "Doe", "createdAt": "2024-03-20T10:30:00Z", "lastOrderId": "ord_123", "paymentInstrumentCardLast4": "1234" } ], "total": 150, "page": 1, "pageSize": 20, "totalPages": 8 }
List customers with filtering, sorting and pagination
Enter your API key as: Bearer your-api-key
Bearer your-api-key
x >= 1
1 <= x <= 100
Show child attributes
id
email
firstName
lastName
createdAt
lastOrderId
asc
desc
Successful response