Skip to main content
GET
List orders for a customer

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customer_id
integer
required

Customer ID

Query Parameters

page[cursor]
string

Cursor token for pagination (from prev_cursor or next_cursor in response)

page[limit]
integer
default:10

Number of records per page (max 100)

Required range: 1 <= x <= 100
sort
enum<string>
default:-created_at

Sort field. Prefix with - for descending order.

Available options:
created_at,
-created_at,
id,
-id,
order_status,
-order_status,
status,
-status,
amount,
-amount
status
string

Filter by order status. Use "all" to include all statuses.

Example:

"processing"

Response

Success

orders
object[]
meta
object