Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Count mismatch between orders retrieved via rest api and count returned by orders/count end-point

Count mismatch between orders retrieved via rest api and count returned by orders/count end-point

Sudhina
Visitor
1 0 0

I'm trying to extract all the orders for last 5 days through Shopify REST API. I'm printing the total orders count in the first line of code using orders/count.json endpoint (which is 1146) . However, the total number of orders extracted via orders.json endpoint is 1137.

I've set status to 'any' and is paginating through the results using next_link in response header. I tried paginating with 'since_id' as well. The issue persists either way.

Replies 0 (0)