How can I access order data older than 2 months via the Shopify REST API?

How can I access order data older than 2 months via the Shopify REST API?
When i do a lookup for order from 2023.05 I got response {“errors”:“Not Found”}

curl -X GET “https://myshop.myshopify.com/admin/api/2023-10/orders/4855625318583.json
-H “X-Shopify-Access-Token: shpca_…439d6…92c4ae6054bd82b…”

I can see this order in my admin orders page, but not with api call.
If I try to get latest order from November, then all looks fine.

Hey @feel_vitalii

You’ll need read_all_orders scope to read orders > 60 days old.

1 Like

Thank you a lot!