Skip to main content

Archive products

Moves selected items to the archive

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

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

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


tip

You can pass up to 100 identifiers at a time

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


1C:Enterprise/OneScript code example
    ClientID  = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";

Result = OPI_Ozon.ArchiveProducts(ClientID, APIKey, ProductID);
    oint ozon ArchiveProducts \
--clientid "***" \
--apikey "***" \
--products 1235207802
Result
{
"result": true
}