Order API not working in some stores

Hey @hussainbadusha

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:

/admin/api/2020-01/orders.json?order=created_at+desc&limit=100&status=any

For reference: https://shopify.dev/docs/admin-api/rest/reference/orders/order#index-2021-01

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.