Order API - Retrieve orders INCLUDING the one stated in since_id

Hi,

Hmm, a simple solution for your workflow can be something like this:

  1. Get the first single order using with the ‘since_id’, like this ‘/orders/${since_id}.json’
  2. Get all the orders using ‘/orders.json?since_id=${since_id}’
  3. Merge the single order with all the orders, prepend it to the second orders array
  4. Generate your CSV file