1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-10 04:18:47 +02:00
OpenIntegrations/docs/en/md/VK/Product-management/Delete-product.md
Vitaly the Alpaca (bot) ab33d2f19d Main build (Jenkins)
2024-09-17 12:29:46 +03:00

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
  }