mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-10 04:18:47 +02:00
828 B
828 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 = FunctionParameters["VK_MarketItemID"];
Result = OPI_VK.DeleteProduct(Product, Parameters);
oint vk DeleteProduct --item "9372711" --auth "GetVKParameters()"
{
"response": 1
}