When a product is archived, it is no longer visible in search results.
To make it visible again, you need to unarchive it; here is a step-by-step guide on how to do this.
A. Unarchiving a product via the PIM interface.
Create an Excel file:
Import your file into the PIM :
Click on the ‘Imports/Exports’ button in the side menu, then on ‘Start an import’;
click on ‘Import without profile’;
choose the language, select ‘Replace’ as the ‘Empty cell action’, then choose the ‘Object type’ and ‘Product type’;
Select the file format;
drag and drop your file into the ‘File source’ area, or click on the ‘Choose files’ button to add it from its location on your computer and finally click on ‘Import data'.
Check the status of your import in the ‘Activity reports’ and once it shows “State” as ‘Success’, you will now be able to access your unarchived product from the search.
B. Unarchiving a product via the PIM API:
You can use the API endpoint PUT /api/documents/{document_code} to unarchive (activate) a product with the following body:
{
"active": true,
}





