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

1010 B

sidebar_position
8

Get product description

Gets the description template for creating a product

Function GetProductDescription(Val Clear = False) Export

Parameter CLI option Type Description
Clear --empty Boolean True > structure with empty valuse, False > field descriptions at values

Returns: Map Of KeyAndValue - Fields map


    Parameters = GetVKParameters();

    Result = OPI_VK.GetProductDescription();
    
  oint vk GetProductDescription

{
 "Name": "New product",
 "Description": "Product description",
 "Category": "20173",
 "Price": 1,
 "OldPrice": null,
 "MainPhoto": null,
 "URL": null,
 "AdditionalPhotos": [],
 "PropertyValues": [],
 "MainInGroup": false,
 "Width": null,
 "Height": null,
 "Depth": null,
 "Weight": null,
 "SKU": null,
 "AvailableBalance": 1
}