Skip to main content

Get product price structure

Gets the product price structure for the UpdateProductsPrices function

Function GetProductPriceStructure(Val Clear = False) Export

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

Returns: Structure of KeyAndValue - Filter fields structure


tip

The description of the filter fields can be found on the documentation page for product list retrieving method: post /v1/product/import/prices


Code example
    Result = OPI_Ozon.GetProductPriceStructure();
CLI command example
    
oint ozon GetProductPriceStructure --empty %empty%

Result
{
"auto_action_enabled": "<Enable auto application of shares: ENABLED or DISABLED>",
"currency_code": "<currency>",
"min_price": "<minimum price of product after promotions have been applied>",
"offer_id": "<product identifier in the sellers system>",
"old_price": "<price before discounts; specify 0 if no discounts are available>",
"price": "<product price with discounts>",
"price_strategy_enabled": "<auto application of price strategies: ENABLED or DISABLED>",
"product_id": "<Product ID>"
}