A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
no issue getting new order from the orders API except
when trying to get old order (2 months ago) ... i receive this error - {"errors":"Not Found"}
i was able to get the data for the old orders in the past
*i am using the rest API
*GET https://foldingscooterstore.myshopify.com/admin/api/2021-10/orders/{order_id}.json
*i am using this version 2021-10 . i am receiving the same issue with the new version 2022-07
*used the same method now and in the past
do orders go to archive ? there is other way to get them after certain time?
please help
Thanks in advance
Solved! Go to the solution
This is an accepted solution.
You need to request a special permission to get the older orders, you can see the Caution note at the bottom of the Order API docs:
Only the last 60 days' worth of orders from a store are accessible from the Order resource by default.
This is an accepted solution.
You need to request a special permission to get the older orders, you can see the Caution note at the bottom of the Order API docs:
Only the last 60 days' worth of orders from a store are accessible from the Order resource by default.
thanks for the help