Delete product property variant
Deletes the previously created product property variant
Function DeleteProductPropertyVariant(Val Option, Val Parameters = "") Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Option | --option | String, Number | ✔ | Variant 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();
Option = "7949";
Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);
- Bash
- CMD/Bat
oint vk DeleteProductPropertyVariant \
--option "7988" \
--auth ""/tmp/3chkpyur.gjr.json""
oint vk DeleteProductPropertyVariant ^
--option "7988" ^
--auth ""/tmp/3chkpyur.gjr.json""
Result
{
"response": 1
}