Skip to main content

Delete product

Deletes a previously created product

Function DeleteProduct(Val Product, Val Parameters = "") Export

ParameterCLI optionTypeDescription
Product--itemString, NumberProduct ID
Parameters--authStructure Of StringAuthorization 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
}