Skip to main content
GET
List all orders

Authorizations

Authorization
string
header
required

Query Parameters

page
integer<int32>
default:1

The page to return, starting at 1. A value below 1 or a non-numeric value returns 400.

Required range: x >= 1
page_size
integer<int32>
default:20

Rows per page, from 1 to 200. A value below 1 counts as 1 and a value above 200 as 200; a non-numeric value uses the default.

Required range: 1 <= x <= 200
sort
string

Sortable fields: id, reference, deal_date, currency, order_terms, delivery_method, beneficiary_country, beneficiary_name, beneficiary_reason.

Example:

"-deal_date"

fields
string

Comma-separated fields to return in each row: id, order_type, order_status, reference, deal_date, currency, delivery_method, beneficiary_name, beneficiary_country. Other names are ignored. With response_mode=summary_with_export, an unknown name makes the export fail with Invalid export fields.

response_mode
enum<string>

default returns a page of rows. summary returns the number of matching records and up to 10 sample rows. summary_with_export returns the summary and queues an export of every matching record. A token whose user is limited to part of the account gets 403.

Available options:
default,
summary,
summary_with_export
export_format
enum<string>
default:csv

The export's file format. Applies only with response_mode=summary_with_export.

Available options:
csv,
json

Response

Paginated list. With response_mode=summary, a count and up to 10 samples instead; with summary_with_export, the same plus a queued export.

data
object[]
required
info
object
required

Where this page sits in the full result, and the sort, filters and fields the request applied.