Get discount information
Retrieves discount and main product information by SKU of the discounted items
Function GetDiscountInformation(Val ClientID, Val APIKey, Val SKU) Export
Parameter | CLI option | Type | Description |
---|---|---|---|
ClientID | --clientid | String | Client identifier |
APIKey | --apikey | String | API key |
SKU | --sku | Number, Array Of Number | SKU 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": []
}