Skip to main content

Delete products without SKU

Deletes products without SKU from archive

Function DeleteProductsWithoutSKU(Val ClientID, Val APIKey, Val Articles) Export

ParameterCLI optionTypeRequiredDescription
ClientID--clientidStringClient identifier
APIKey--apikeyStringAPI key
Articles--articlesString, Number, Array of String, NumberProducts articles

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


tip

The product must be pre-archived (see ArchiveProducts)

Up to 500 identifiers can be passed in one request

Method at API documentation: post /v2/products/delete


1C:Enterprise/OneScript code example
    OPI_Tools.Pause(30);

ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";

Result = OPI_Ozon.ArchiveProducts(ClientID, APIKey, ProductID);

Article = "143210609";

Result = OPI_Ozon.DeleteProductsWithoutSKU(ClientID, APIKey, Article);
    oint ozon DeleteProductsWithoutSKU \
--clientid "***" \
--apikey "***" \
--articles "143210609"
Result
{
"status": [
{
"offer_id": "143210609",
"is_deleted": true,
"error": ""
}
]
}