Skip to main content
Skip to main content

AdminGetOrdersParams

Parameters used to filter and configure the pagination of the retrieved orders.

Properties

offsetnumberRequired
The number of items to skip when retrieving a list.

Default: 0

limitnumberRequired
Limit the number of items returned in the list.

Default: 50

expandstring
Comma-separated relations that should be expanded in the returned data.
fieldsstring
Comma-separated fields that should be included in the returned data. if a field is prefixed with + it will be added to the default fields, using - will remove it from the default fields. without prefix it will replace the entire default fields.
orderstring
The field to sort retrieved orders by. By default, the sort order is ascending. To change the order to descending, prefix the field name with -.
qstring
Search term to search orders' shipping address, first name, email, and display ID.
idstring
ID to filter orders by.
statusstring[]
Statuses to filter orders by.
fulfillment_statusstring[]
Fulfillment statuses to filter orders by.
payment_statusstring[]
Payment statuses to filter orders by.
display_idstring
Display ID to filter orders by.
cart_idstring
Cart ID to filter orders by.
customer_idstring
Customer ID to filter orders by.
emailstring
Email to filter orders by.
region_idstring | string[]
Regions to filter orders by.
currency_codestring
Currency code to filter orders by.
tax_ratestring
Tax rate to filter orders by.
sales_channel_idstring[]
Sales channel IDs to filter orders by.
Date filters to apply on the orders' canceled_at date.
Date filters to apply on the orders' created_at date.
Date filters to apply on the orders' updated_at date.
Was this section helpful?