Archive products
Moves selected items to the archive
Function ArchiveProducts(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 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 = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1346467363";
Result = OPI_Ozon.ArchiveProducts(ClientID, APIKey, ProductID);
- Bash
- CMD/Bat
oint ozon ArchiveProducts \
--clientid "***" \
--apikey "***" \
--products 1343757013
oint ozon ArchiveProducts ^
--clientid "***" ^
--apikey "***" ^
--products 1343757013
Result
{
"result": true
}