We have number of clients using our app. We normally fetch orders after getting access_token from the store and process them as per our needs.
Everything was working fine. But now one of our clients was complaining that your app doesn't show any orders even though i have received orders in recent days.
So we have checked if his store has orders in the last 60 days from our side. Unfortunately, order api returns empty result set.
Any help would be greatly appreciated.
Can you share the x-request-id response header from one of the API calls that isn't working correctly?
By default when calling the order endpoint, we use status=open which means if orders are archived they won't get pulled. You will want to add status=any on the end:
As a side note, you are requesting 2020-01 API version but these are all being forwarded to 2020-04 (and will continue to be forwarded to newer versions as API versions are deprecated). I would suggest trying to migrate to the latest API version so you don't run into issues in the future.