Delete product
Deletes a previously created product
Function DeleteProduct(Val Product, Val Parameters = "") Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Product | --item | String, Number | ✔ | Product ID |
Parameters | --auth | Structure Of String | ✖ | Authorization JSON or path to .json |
Returns: Map Of KeyAndValue - serialized JSON response from VK
1C:Enterprise/OneScript code example
Parameters = GetVKParameters();
Product = "11831701";
Result = OPI_VK.DeleteProduct(Product, Parameters);
- Bash
- CMD/Bat
oint vk DeleteProduct \
--item "11838523" \
--auth ""/tmp/lmqt3o1y.bkb.json""
oint vk DeleteProduct ^
--item "11838523" ^
--auth ""/tmp/lmqt3o1y.bkb.json""
Result
{
"response": 1
}