Unarchive products
Returns selected items from the archive
Function UnarchiveProducts(Val ClientID, Val APIKey, Val ProductsID) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
ClientID | --clientid | String | ✔ | Client identifier |
APIKey | --apikey | String | ✔ | API key |
ProductsID | --products | String, Number, Array of String, Number | ✔ | Product 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
1C:Enterprise/OneScript code example
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
Result = OPI_Ozon.UnarchiveProducts(ClientID, APIKey, ProductID);
- Bash
- CMD/Bat
oint ozon UnarchiveProducts \
--clientid "***" \
--apikey "***" \
--products 1235207802
oint ozon UnarchiveProducts ^
--clientid "***" ^
--apikey "***" ^
--products 1235207802
Result
{
"result": true
}