AdminGetOrdersParams
Parameters used to filter and configure the pagination of the retrieved orders.
Properties
offset
numberRequiredThe number of items to skip when retrieving a list.
Default: 0
limit
numberRequiredLimit the number of items returned in the list.
Default: 50
expand
stringComma-separated relations that should be expanded in the returned data.
fields
stringComma-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.order
stringThe field to sort retrieved orders by. By default, the sort order is ascending.
To change the order to descending, prefix the field name with
-
.q
stringSearch term to search orders' shipping address, first name, email, and display ID.
id
stringID to filter orders by.
status
string[]Statuses to filter orders by.
fulfillment_status
string[]Fulfillment statuses to filter orders by.
payment_status
string[]Payment statuses to filter orders by.
display_id
stringDisplay ID to filter orders by.
cart_id
stringCart ID to filter orders by.
customer_id
stringCustomer ID to filter orders by.
email
stringEmail to filter orders by.
region_id
string | string[]Regions to filter orders by.
currency_code
stringCurrency code to filter orders by.
tax_rate
stringTax rate to filter orders by.
sales_channel_id
string[]Sales channel IDs to filter orders by.
canceled_at
DateComparisonOperatorDate filters to apply on the orders' canceled_at
date.
canceled_at
DateComparisonOperatorcanceled_at
date.created_at
DateComparisonOperatorDate filters to apply on the orders' created_at
date.
created_at
DateComparisonOperatorcreated_at
date.updated_at
DateComparisonOperatorDate filters to apply on the orders' updated_at
date.
updated_at
DateComparisonOperatorupdated_at
date.Was this section helpful?