1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-18 05:18:06 +02:00

46 lines
800 B
Markdown
Raw Normal View History

---
sidebar_position: 4
---
# Delete product property
Deletes the existing product property
2024-07-10 13:58:29 +03:00
`Function DeleteProductProperty(Val Property, Val Parameters = "") Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| 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
2024-07-10 14:05:58 +03:00
<br/>
2024-07-10 13:58:29 +03: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);
```
```sh title="CLI command example"
oint vk DeleteProductProperty --prop %prop% --auth %auth%
```
```json title="Result"
2024-07-10 14:11:17 +03:00
{
"response": 1
}
```