Retrieve archived order

Solved
Highlighted
New Member
2 0 1

Hello, im trying to retrieve an archived order from Shopify API but i got 404 not found.
The documentation of Order API says that we can add attribute status to retrieve all orders including archived orders, admin/api/2020-04/orders.json?ids=XXX,YYY&status=any but i still don't get archived orders.
What can i do please ?

0 Likes
Highlighted
Shopify Partner
10 3 6

This is an accepted solution.

I'm not sure if you've checked this already but Shopify does limit the orders that you can fetch to those within the last 60 days and I believe if you try to fetch older orders without having `read_all_orders` on your token permission scope, you'll receive a 404. Are these orders older than 60 days? and if so have you checked to make sure your access token has access to older orders?

1 Like
Highlighted
New Member
2 0 1

Thanks for answering.
Yes exactly it's an old order, i'll try to get all order scope and retry

1 Like