You can easily open any archived order to see its details. To open an order click the View link in the right column on the grid.

It's possible to restore any archived order right from the Order Info page.

Working with API

With the Order Archive for Magento 2 extension, you can manage your order archive using API. There are 3 operations you are able to perform. These are:

Move to archive;

Return from archive;

Permanently remove an order.

Let's dig into examples.

Move to archive

Operation: V1/amastyMoveToArchive

Description: Operation moves orders and order-related entities to archive tables amastyorderarchive%. Operation affects all the entities associated with the order: invoices, credit memos, shippings if they exist for the order.

Does not check the order existence in the database, if the order does not exist return code 200.

Move from archive

Operation: /V1/amastyMoveFromArchive

Description: Operation moves orders and order-related entities from archive tables “amastyorderarchive%”. Operation affect all the entities associated with the order: invoices, credit memos, shippings if they exist for the order.