Skip to main content

Remove product from selection

Removes a previously added product from the selection

Function RemoveProductFromSelection(Val Product, Val Selection, Val Parameters = "") Export

ParameterCLI optionTypeDescription
Product--itemStringProduct ID
Selection--selStringSelection ID
Parameters--authStructure Of StringAuthorization JSON or path to .json

Returns: Map Of KeyAndValue - Serialized JSON response from VK


Code example
  Parameters = GetVKParameters();

Product = "9372711";
Selection = "125";

Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);
CLI command example
    
oint vk RemoveProductFromSelection --item "9372711" --sel "125" --auth "GetVKParameters()"

Result
{
"response": 1
}