There are two ways to page through the orders when batch processing the orders of a Shopify store:
1. Using the since_id parameter
2. Using the page parameter
My prefered way would be to use the since_id approach becase this would allow for a more fine-grained control on how orders are processed.
I save the last order_id after each order is processed and in this way if something fails in the process I can restart at exactly where it failed.
While with the page parameter I would have to repeat the processing of the oders in the last page.
So my question is if anyone has experience with batch processing orders, which of the two approaches you have used and which would you consider to be best practice?
|2 hours ago|