Customers
List customers
Changed onList customers with optional pagination and search filtering.
get/api/v1/customers
Request
- The document declares no server URL.
- AuthHTTP bearer
Query parameters
order_bystring
Sort order. Format: column.direction. Allowed columns: name, email, alias, created_at. Direction: asc or desc. Default: created_at.desc.
pageinteger
Page number (0-indexed)
per_pageinteger
Number of items per page
searchstring
archivedboolean
Response
List of customers
Example response
{
"data": [
{
"billing_address": {
"country": "US"
},
"currency": "EUR",
"id": "cus_7n42DGM5Tflk9n8mt7Fhc7",
"invoicing_entity_id": "ive_7n42DGM5Tflk9n8mt7Fhc7",
"shipping_address": {
"address": {
"country": "US"
}
}
}
]
}Changes
- info
added the new optional
queryrequest parameterorder_by
- info
- warning
added the new
TOO_MANY_REQUESTSenum value to theresponse property for the response status - warning
added the new
TOO_MANY_REQUESTSenum value to theresponse property for the response status - info
added the non-success response with the status
- info
added the optional property
//to the response with the status
- warning