GET
/
api
/
v2
/
orders
/
search

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
default: 50

How many results to return at a time in the "orders" field of the response object. Defaults to 50.

offset
integer
default: 0

How many results to skip. Used for pagination. Defaults to 0.

payment_status
enum<string>[]

Payment status filter.

Available options:
paid,
unpaid
fulfillment_status
enum<string>[]
Available options:
partial,
fulfilled,
unfulfilled
order_type
enum<string>[]
Available options:
invoice,
memo
sort_col
enum<string>
default: ordered_on

Selects a column to sort the orders. Defaults to sorting by the created_on date.

Available options:
ordered_on,
total,
merchant_legal_dba
sort_order
enum<string>
default: asc

Order to sort the column.

Available options:
asc,
desc
query
string

Query string for order searching. This can be used alongside the previously defined filters and pagination parameters. This can be used to search for order/memo ID's, SKU(s), merchant company names, and vendor codes (only with admin token). All of these search parameters can be used simultaneously, just separate with whitespace.

Response

200 - application/json
metadata
object
orders
object[]