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
[api.label.responses]
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
A text or data communication generated by a system or application in response to a request.
{
"status": 200,
"success": true,
"data": {
"message": "سوف يتم ارسال التقرير علي بريدك الالكتروني بعد قليل"
}
}