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.

Orders API not returning results

Orders API not returning results

sankalpjonna
Shopify Partner
3 0 0

Hello,

 

 

I am seeing an issue in the Shopify Order API when I call the following API. I get zero orders in the response -
 
/admin/api/2019-10/orders.json?status=any
{"orders":[]}

 

 
However if I call the count API , the response says there are quite a few orders
 
/admin/api/2019-10/orders/count.json?status=any
{"count":1765}
 
Anyone here facing the same problem? Any help on this would be highly appreciated
Replies 2 (2)

Jason
Shopify Partner
11207 226 2319

How old are the orders that you're trying to return?

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★

medlingtonQPS
Shopify Partner
28 0 9

Did you ever find a solution to this?

 

Im having the same issue, but it doesnt seem consistent. Last night my API call received 1 result when there were 10 orders on the system, this morning without changing anything the same call received all 10 results. I then needed to delete these orders and reimport them but now my script receives 0 results?