This API is used to retrieve a list of all the available orders.
Sample Request
Sample Result[JSON]
URL Format
Input Parameters
optional, string filter
Sorts based on the specified attribute. Supported attributes : created_at, updated_at
Supported sort-orders : asc, desc
Example → sort_by[asc] = "created_at"
This will sort the result based on the 'created_at' attribute in ascending(earliest first) order.
Filter Params
optional, string filter
The invoice number which acts as an identifier for invoice and is generated sequentially. Supported operators : is, is_not, starts_with, in, not_in
Example → invoice_id[is] = "INVOICE_982"
INVOICE_982optional, enumerated string filter
The status of this order. Possible values are : new, processing, complete, cancelled, voided, queued, awaiting_shipment, on_hold, delivered, shipped, partially_delivered, returned.
Supported operators : is, is_not, in, not_in
Example → status[is] = "queued"
queuedoptional, timestamp(UTC) in seconds filter
This is the date on which the order will be delivered to the customer. Supported operators : after, before, on, between
Example → shipping_date[after] = "1435054328"
1435054328Returns
This attribute is returned only if more resources are present. To fetch the next set of resources use this value for the input parameter offset.