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
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Clear | --empty | Boolean | ✖ | True > 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();
- Bash
- CMD/Bat
oint ozon GetSimplifiedProductStructure \
--empty false
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>"
}