List all customers
Returns a paginated list of your customers. The customers are sorted in order, with the most recent customers appearing first.
AuthorizationBearer <token>
API key authentication. Use "Bearer YOUR_API_KEY" format.
In: header
Query Parameters
limit?string
The number of results per page. Minimum value is 1 and maximum is 100. Defaults to 20.
starting_after?string
A cursor value specifying the id of a resource to start before. Retrieves items that appear after this cursor in the list. Cannot be used together with ending_before.
Match
^[0-9a-fA-F]{24}$ending_before?string
A cursor value specifying the id of a resource to end after. Retrieves items that appear before this cursor in the list. Cannot be used together with starting_after.
Match
^[0-9a-fA-F]{24}$search?string
Response Body
application/json
curl -X GET "https://api.checkoutpage.com/v1/customers/?limit=20&starting_after=507f1f77bcf86cd799439011&ending_before=507f1f77bcf86cd799439012&search=string"{
"has_more": true,
"total": 42,
"data": [
{
"id": "string",
"name": "string",
"companyName": "string",
"email": "string",
"phone": "string",
"billingEmail": "string",
"address": {
"line1": "string",
"line2": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string"
},
"shipping": {
"name": "string",
"phone": "string",
"address": {
"line1": "string",
"line2": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string"
}
},
"taxId": "string",
"taxIdType": "string",
"sellerId": "string",
"stripeCustomerId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
]
}Empty
Empty
Empty
Empty
Empty