Delete products without SKU
Deletes products without SKU from archive
Function DeleteProductsWithoutSKU(Val ClientID, Val APIKey, Val Articles) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
ClientID | --clientid | String | ✔ | Client identifier |
APIKey | --apikey | String | ✔ | API key |
Articles | --articles | String, Number, Array of String, Number | ✔ | Products 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);
- Bash
- CMD/Bat
oint ozon DeleteProductsWithoutSKU \
--clientid "***" \
--apikey "***" \
--articles "143210609"
oint ozon DeleteProductsWithoutSKU ^
--clientid "***" ^
--apikey "***" ^
--articles "143210609"
Result
{
"status": [
{
"offer_id": "143210609",
"is_deleted": true,
"error": ""
}
]
}