Edit product property
Edits the existing product property
Function EditProductProperty(Val Name, Val Property, Val Parameters = "") Export
Parameter | CLI option | Type | Description |
---|---|---|---|
Name | --title | String | New name |
Property | --prop | String, Number | Property ID |
Parameters | --auth | Structure Of String | Authorization JSON or path to .json |
Returns: Map Of KeyAndValue - Serialized JSON response from VK
Code example
Parameters = GetVKParameters();
Name = "Color (change.)";
Property = "720";
Result = OPI_VK.EditProductProperty(Name, Property, Parameters);
CLI command example
oint vk EditProductProperty --title "Color (change.)" --prop "648" --auth "GetVKParameters()"
Result
{
"response": 1
}