Skip to main content

Delete product property variant

Deletes the previously created product property variant

Function DeleteProductPropertyVariant(Val Option, Val Parameters = "") Export

ParameterCLI optionTypeDescription
Option--optionString, NumberVariant ID
Parameters--authStructure Of StringAuthorization JSON or path to .json

Returns: Map Of KeyAndValue - Serialized JSON response from VK


Code example
    Parameters = GetVKParameters();

Option = "2239";

Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);

Check_VKTrue(Result);

OPI_Tools.Pause(5);
CLI command example
    
oint vk DeleteProductPropertyVariant --option "2054" --auth "GetVKParameters()"

Result
{
"response": 1
}