Skip to main content

Get discount information

Retrieves discount and main product information by SKU of the discounted items

Function GetDiscountInformation(Val ClientID, Val APIKey, Val SKU) Export

ParameterCLI optionTypeDescription
ClientID--clientidStringClient identifier
APIKey--apikeyStringAPI key
SKU--skuNumber, Array Of NumberSKU of discounted products

Returns: Map Of KeyAndValue - Serialized JSON response from Ozon Seller API


tip

Method at API documentation: post /v1/product/info/discounted


Code example
    ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
SKU = 1626044001;

Result = OPI_Ozon.GetDiscountInformation(ClientID, APIKey, SKU);
CLI command example
    
oint ozon GetDiscountInformation --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --sku %sku%

Result
{
"items": []
}