Hi,
Hmm, a simple solution for your workflow can be something like this:
- Get the first single order using with the ‘since_id’, like this ‘/orders/${since_id}.json’
- Get all the orders using ‘/orders.json?since_id=${since_id}’
- Merge the single order with all the orders, prepend it to the second orders array
- Generate your CSV file