Skip to main content

Unarchive products

Returns selected items from the archive

Function UnarchiveProducts(Val ClientID, Val APIKey, Val ProductsID) Export

ParameterCLI optionTypeDescription
ClientID--clientidStringClient identifier
APIKey--apikeyStringAPI key
ProductsID--productsString, Number, Array of String, NumberProduct IDs for recovery

Returns: Map Of KeyAndValue - Serialized JSON response from Ozon Seller API


tip

You can restore from the archive no more than 10 products that were automatically archived per day. There are no restrictions on unarchiving products that were manually moved to the archive.

Method at API documentation: post /v1/product/unarchive


Code example
    ClientID  = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1111588191";

Result = OPI_Ozon.UnarchiveProducts(ClientID, APIKey, ProductID);
CLI command example
    
oint ozon UnarchiveProducts --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --products %products%

Result
{
"result": true
}