Remove product from selection
Removes a previously added product from the selection
Function RemoveProductFromSelection(Val Product, Val Selection, Val Parameters = "") Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Product | --item | String | ✔ | Product ID |
Selection | --sel | String | ✔ | Selection 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";
Selection = "142";
Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);
- Bash
- CMD/Bat
oint vk RemoveProductFromSelection \
--item "11838523" \
--sel "147" \
--auth ""/tmp/riut31oq.esu.json""
oint vk RemoveProductFromSelection ^
--item "11838523" ^
--sel "147" ^
--auth ""/tmp/riut31oq.esu.json""
Result
{
"response": 1
}