Delete product
Deletes a previously created product
Function DeleteProduct(Val Product, Val Parameters = "") Export
Parameter | CLI option | Type | 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
Code example
Parameters = GetVKParameters();
Product = "9485960";
Result = OPI_VK.DeleteProduct(Product, Parameters);
CLI command example
oint vk DeleteProduct --item "9372711" --auth "GetVKParameters()"
Result
{
"response": 1
}