Read all orders scope not working

Topic summary

A developer encountered an issue where their app, despite having the “Read all orders” scope approved, was only retrieving 9 orders from a store with 500+ orders.

API Call Details:

  • Endpoint used: /admin/api/2023-07/orders.json
  • Parameters: status=any, financial_status=any, limit=250
  • Expected: All orders from the store
  • Actual result: Only 9 orders returned, with no pagination information

Resolution:
The issue was self-resolved when the developer discovered their production environment was missing the read_all_orders scope configuration, despite it being approved. Adding the scope to the production environment resolved the retrieval problem.

Summarized with AI on November 15. AI used: claude-sonnet-4-5-20250929.

We have the “Read all orders” scope approved for our app, but not all orders are coming through.

For example, we have a store using our app that has 500+ orders, but when we call:

https://store.myshopify.com/admin/api/2023-07/orders.json?status=any&limit=250&financial_status=any

we only got 9 orders back and no page info

our prod env was missing the read_all_orders scope :expressionless_face: