Export Orders
GET
/exports/ordersThis endpoint allows you to export orders in excel format (xlsx
or csv
).
:::tip[Note]
Advance configurations are possible using the available query parameters.
:::
Request
Filter orders by specifying one of the enum values
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
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
Filter from date. Required if the query parameter filter_orders
is set to dates
Filter to date. Required if the query parameter filter_orders
is set to dates
Request samples
Responses
{
"status": 200,
"success": true,
"data": {
"message": "سوف يتم ارسال التقرير علي بريدك الالكتروني بعد قليل"
}
}