mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-02-03 13:22:19 +02:00
800 B
800 B
sidebar_position |
---|
6 |
Delete product
Deletes a previously created product
Function DeleteProduct(Val Product, Val Parameters = "") Export
Parameter | CLI option | Type | Description |
---|---|---|---|
Product | --item | String, Number | Product ID |
Parameters | --auth | Structure Of String | Authorization JSON or path to .json |
Returns: Map Of KeyAndValue - Serialized JSON response from VK
Parameters = GetVKParameters();
Product = "9461686";
Result = OPI_VK.DeleteProduct(Product, Parameters);
oint vk DeleteProduct --item "9372711" --auth "GetVKParameters()"
{
"response": 1
}