Many addons need to retrieve all order to perform their tasks. Until now, the only possible way was to iteratively call order detail endpoint for each order one by one. To make this task easier, we have introduced a new endpoint List of all orders.
Retrieval of all the order details might take a longer time and produce rather large output. That is why we have introduced asynchronous endpoints. When an asynchronous endpoint is called, a background job is submitted and only its id returned. Once the job is completed, a webhook is called and the response can be downloaded.
In case of List of all orders endpoint, the data is stored using JSON Lines. Each line contains one product in JSON format. The same data and schema as the order detail is used. Event the optional sections requestable by parameter
?include= are identical.
When you need only subset of all orders you can use additionel filteres
codeTo send as additional query parameters.