Solved

error message when trying to get old order from api , error - {"errors":"Not Found"}

MovingLife
Tourist
3 0 0

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

Accepted Solution (1)

dogowner
Shopify Partner
58 5 8

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.

View solution in original post

Replies 2 (2)

dogowner
Shopify Partner
58 5 8

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.

MovingLife
Tourist
3 0 0

thanks for the help