This API is used to retrieve a list of all the available orders.
Sample Request
URL Format
Input Parameters
Determines your position in the list for pagination. To ensure that the next page is retrieved correctly, always set offset
to the value of next_offset
obtained in the previous iteration of the API call.
If set to true, includes the deleted resources in the response. For the deleted resources in the response, the 'deleted ' attribute will be 'true '.
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
Uniquely identifies the order. It is the api identifier for the order. Supported operators : is, is_not, starts_with, in, not_in
Example → id[is_not] = "890"
890optional, 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, string filter
The subscription for which the order is created. Supported operators : is, is_not, starts_with
Example → subscription_id[is_not] = "null"
optional, 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[on] = "1435054328"
1435054328optional, timestamp(UTC) in seconds filter
The time at which the order was shipped. Supported operators : after, before, on, between
Example → shipped_at[before] = "1435054328"
1435054328optional, enumerated string filter
Order type. Possible values are : manual, system_generated.
Supported operators : is, is_not, in, not_in
Example → order_type[is_not] = "system_generated"
system_generatedoptional, timestamp(UTC) in seconds filter
The date on which the order will start getting processed. Supported operators : after, before, on, between
Example → order_date[after] = "1435054328"
1435054328optional, timestamp(UTC) in seconds filter
The timestamp indicating the date & time the order's invoice got paid. Supported operators : after, before, on, between
Example → paid_on[before] = "1435054328"
1435054328optional, timestamp(UTC) in seconds filter
To filter based on updated at . Supported operators : after, before, on, between
Example → updated_at[after] = "1243545465"
1243545465optional, timestamp(UTC) in seconds filter
The time at which the order was created. Supported operators : after, before, on, between
Example → created_at[after] = "1435054328"
1435054328optional, enumerated string filter
Resent order status. Possible values are : fully_resent, partially_resent.
Supported operators : is, is_not, in, not_in
Example → resent_status[is] = "fully_resent"
fully_resentoptional, boolean filter
Order is resent order or not. Possible values are : true, false
Supported operators : is
Example → is_resent[is] = "false"
falseReturns
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.