1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00
Vitaly the Alpaca (bot) 9c977d53e1 Main build (Jenkins)
2024-10-06 16:55:08 +03:00

797 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 = "9671013";

    Result = OPI_VK.DeleteProduct(Product, Parameters);
    
  oint vk DeleteProduct --item "9372711" --auth "GetVKParameters()"

{
 "response": 1
}