GET
/
v1
/
orders

Query Parameters

limit
integer

The maximum number of orders to return. Default is 10.

offset
integer

The number of orders to skip before starting to return results. Default is 0.

sort
string

The field to sort the results by. Can be ‘created_date’, ‘updated_date’, ‘order_number’, etc. Default is ‘created_date’.

order
string

The order of sorting. Can be ‘asc’ or ‘desc’. Default is ‘desc’.

status
string

Filter orders by status.

customer_email
string

Filter orders by customer email.

from_date
string

Filter orders created on or after this date (format: YYYY-MM-DD).

to_date
string

Filter orders created on or before this date (format: YYYY-MM-DD).

Response

orders
array

An array of order objects.

total_count
integer

The total number of orders matching the query parameters.