List orders
Lists orders newest first, each with all its lines, ended ones included. Filter by customer, status, externalId, startsAt[gte] or endsAt[lt]. Ended orders are included unless includeEnded is false.
Authentication
AuthorizationBearer
API Key authentication using Bearer token
Headers
Paid-Beta
This endpoint is in the orders=v1 beta. Send this header to use it.
Allowed values:
Query parameters
cursor
The nextCursor of the previous page. Omit it for the first page.
customer
A Paid ID, external ID or resource key, as supported by the referenced resource.
endsAt[lt]
Exclusive end filter.
externalId
Your stable identifier, 1 to 255 characters.
includeEnded
Include ended orders; defaults to true.
Allowed values:
limit
How many objects to return, 1 to 100. Defaults to 10.
startsAt[gte]
Inclusive start filter.
status
Order lifecycle state.
Allowed values:
Response
200
object
The type of object. Always list.
Allowed values:
data
The resources on this page.
hasMore
Whether another page follows this one.
nextCursor
Send it as cursor to get the next page. Null on the last page.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error