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 the Orders, Invoices, Shipments, Credit Memos Archiving section.
img-md w-600 modal-image -
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 Management
. -
Click Submit to restore the documents.
Export archived documents
-
Choose the type of document that you want to export.
-
In the upper-right menu, set Export to: to one of the following values:
CSV
Excel
-
Click Export.
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 command appears at the top of the workspace.
Manually archive orders
-
On the Admin sidebar, go to Sales > Operations > Orders.
-
To select the order on the grid, select the checkbox in the first column.
-
Set the Actions control to
Move to Archive
and look for the message that order has been archived.img-md w-700 modal-image
View an archived order
-
Open the archive view using one of the following methods:
-
In the button bar above the Orders grid, click Go to Archive.
-
On the Admin sidebar, go to Sales > Archive > Orders.
note note NOTE Like the Orders page, the title of the archived orders page is Orders. The only noticeable difference is the option in the button bar to Return to Orders Management. The URL of the page also indicates that you are in the order archive. -
-
In the Action column, click View.
img-md w-600 modal-image
Restore an archived order
-
On the Admin sidebar, go to Sales > Operations > Orders.
-
In the button bar, click Go to Archive.
-
Find the record to be restored and click the checkbox to select it.
img-md w-600 modal-image -
Set the Actions control value to
Move to Order Management
.
Look for the message that the archived order has been removed from the archive.
Export archived order
-
On the Admin sidebar, go to Sales > Operations > Orders.
-
In the action menu, click Export and select the desired format.