Archive orders
Archiving orders regularly improves performance and keeps your workspace free of unnecessary information, so you can focus on current business. Invoices, shipments, and credit memos can be archived automatically or manually, and can be viewed at any time.
Configure the order archive
Your store can be configured to archive orders, invoices, shipments, and credit memos after a set number of days. You can move orders and their associated documents to the archive, or restore them to their previous state. Archived orders are not deleted and remain available from the Admin. Archived data can be exported to a CSV file and opened in a spreadsheet. When enabled, the Archive action appears at the top of the workspace.
-
On the Admin sidebar, go to Stores > Settings > Configuration.
-
In the left panel, expand the Sales section and choose Sales underneath.
-
Expand
-
Set Enable Archiving to
Yes
.note note NOTE If you later decide to turn archiving off, all archived orders are restored to the previous state. -
Set Archive Orders Purchased to the number of days to wait before completed orders are archived.
By default, orders are archived 30 days after the purchase.
-
In the Order Statuses to be Archived list, select each order status to use for identifying orders to archive.
To select multiple items, hold down the Ctrl (Windows) or Command (Mac) key as you click each item.
-
Click Save Config.
-
When prompted, refresh any invalid cache.
View archived documents
-
In the Sales menu under Archive, choose any of the following:
- Orders
- Invoices
- Shipments
- Credit Memos
-
To view details, click any archived document in the list.
Apply an action to an archived document
Select each document to be the target of the action and choose one of the following Actions:
Cancel
Hold
Unhold
Print
Move to Orders Management
Manually archive documents
-
Select the type of the document to be archived from the following:
- Orders
- Invoices
- Shipments
- Credit Memos
-
Select the checkbox of each item that you want to archive.
-
In the upper-right corner, set Actions to
Move to Archive
. -
Click Submit to archive the selected documents.
Restore archived documents
-
Choose the type of document that you want to restore.
-
Select documents using one of the following options:
-
To select all visible documents, in the upper-left corner, click Select Visible.
-
Manually select the checkbox of each document that you want to restore.
-
-
In the upper-right, set Action to
Move to Orders M