Shopify API returning empty list of data

Solved
mxxm
Tourist
7 0 1

Hi,

I am using the Shopify Admin API, but somehow I receive an empty list of data when I call for example:
/admin/api/2021-01/orders.json?status=any

I have implemented the access_token in the Request Header as described in the documentation.
I have also checked the scopes and they are set correctly.

Does anyone has had a similar behavior or an idea of how to fix that? 

Thanks in advance and best regards!

0 Likes
Greg_Kujawa
Shopify Partner
1016 83 237

This is an accepted solution.

And you've verified that there are recent orders in the Shopify shop you are hitting with your API request? If there are older orders in there then this might come into play --> https://community.shopify.com/c/API-Announcements/ACTION-REQUIRED-Apps-require-Shopify-approval-to-r...

mxxm
Tourist
7 0 1

Thanks a lot! I am currently working with test shop and the sample orders have been created 62 days ago. That was the problem I was facing! Sometimes things are easy!

0 Likes