Skip to main content

Retrieve orders by query

POST 

/order/orders/query

Retrieves a group of orders from the account based on a query object. If no parameters are specified, the API call will fail with a bad request error. Always specify some parameters to limit the scope of the orders returned to ones you are truly interested in. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.

Reading a lot of order history?

For backfills, exports and reporting, the BigQuery SDK (JavaScript) reads orders from your UltraCart data warehouse in one query and returns the same Order objects as this API, fully expanded, without REST rate limits. Its change log also keeps every version of each order, including deletes, so you can sync only what changed: the REST API returns only the current version. See Extracting Order History.

Request​

Responses​

Successful response

Was this page helpful?