Shopify API can't read all orders

I have setup my app and Shopify GraphiQL App, So Shopify GraphiQL App showing 610 orders count but from my app’s Access Token when I hit ordersCount graphql API i got 0 as result


I assume your app is using the read_orders access scope.

If that’s the case, the potential reason is that there are no orders placed within 60 days on this particular store.

The read_orders access scope is limited to reading only the past 60 days of order history.

There’s a separate scope called read_all_orders that includes all orders, but you’ll need to request permission from Shopify in order to request it from merchants.

You can start a request for this additional access scope in the Partner dashboard, under your App’s settings.

1 Like

Already have it see in SS

Is it possible that your current access token doesn’t have this permission?

All existing access tokens aren’t automatically updated to include the read_all_orders permission. You’ll need to request it again from merchants.

1 Like