Export Orders

GET {{baseUrl}}/exports/orders?filter_orders=dates&template_id=-1&format=xlsx&from_date=<dateTime>&to_date=<dateTime>

This endpoint allows you to export orders in excel format (xlsx or csv). Advance configurations are possible using the available query parameters.

orders.read- Orders Read Only

Request Params

KeyDatatypeRequiredDescription
filter_ordersstring(Required) Filter orders by specifying one of the enum values
template_idnumber(Required) Provide the template_id if the store has order-export-templates feature enabled on the store. Query the list of templates from this endpoint. Default export template_id is set to -1
formatstring(Required) Choose a format from the enum values, either xlsx or csv, if the store has order-export-templates feature enabled on the store. Recommended format is xlsx
from_datestringFilter from date. Required if the query parameter filter_orders is set to dates
to_datestringFilter to date. Required if the query parameter filter_orders is set to dates

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cnumber\u003e&quot;,&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;data&quot;:{&quot;message&quot;:&quot;\u003cstring\u003e&quot;}}