2024-06-05 10:19:46 +00:00
|
|
|
---
|
|
|
|
sidebar_position: 4
|
|
|
|
---
|
|
|
|
|
|
|
|
# Delete product property
|
|
|
|
Deletes the existing product property
|
|
|
|
|
|
|
|
|
2024-07-10 11:59:55 +03:00
|
|
|
|
2024-07-10 13:58:29 +03:00
|
|
|
`Function DeleteProductProperty(Val Property, Val Parameters = "") Export`
|
2024-06-05 10:19:46 +00:00
|
|
|
|
|
|
|
| Parameter | CLI option | Type | Destination |
|
|
|
|
|-|-|-|-|
|
|
|
|
| Property | --prop | String, Number | Property ID |
|
|
|
|
| Parameters | --auth | Structure Of String | Authorization JSON or path to .json |
|
|
|
|
|
|
|
|
|
2024-07-30 22:48:29 +03:00
|
|
|
Returns: Map Of KeyAndValue - Serialized JSON response from VK
|
2024-06-05 10:19:46 +00:00
|
|
|
|
2024-07-10 14:05:58 +03:00
|
|
|
<br/>
|
2024-07-10 11:59:55 +03:00
|
|
|
|
2024-07-10 13:58:29 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2024-06-05 10:19:46 +00:00
|
|
|
```bsl title="Code example"
|
2024-07-31 21:55:27 +03:00
|
|
|
Parameters = GetVKParameters();
|
2024-07-10 14:24:11 +03:00
|
|
|
|
2024-07-31 21:55:27 +03:00
|
|
|
Property = "607";
|
|
|
|
|
|
|
|
Result = OPI_VK.DeleteProductProperty(Property, Parameters);
|
2024-06-05 10:19:46 +00:00
|
|
|
```
|
2024-07-10 11:59:55 +03:00
|
|
|
|
|
|
|
|
2024-06-05 10:19:46 +00:00
|
|
|
|
|
|
|
```sh title="CLI command example"
|
|
|
|
|
|
|
|
oint vk DeleteProductProperty --prop %prop% --auth %auth%
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
```json title="Result"
|
2024-07-10 14:11:17 +03:00
|
|
|
{
|
2024-06-05 10:19:46 +00:00
|
|
|
"response": 1
|
|
|
|
}
|
|
|
|
```
|