Skip to main content

Get simplified product structure

Gets the structure for creating a product based on Ozon ID in the CreateProductByOzonID function()

Function GetSimplifiedProductStructure(Val Clear = False) Export

ParameterCLI optionTypeRequiredDescription
Clear--emptyBooleanTrue > structure with empty valuse, False > field descriptions at values

Returns: Structure of KeyAndValue - Product fields structure


1C:Enterprise/OneScript code example
    Result = OPI_Ozon.GetSimplifiedProductStructure();
    oint ozon GetSimplifiedProductStructure \
--empty false
Result
{
"name": "<name>",
"sku": "<product identifier in the Ozon system>",
"offer_id": "<article>",
"price": "<price>",
"old_price": "<old price>",
"vat": "<VAT rate, e.g. 0.2>",
"currency_code": "<currency>"
}