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 | Required | 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
1C:Enterprise/OneScript code example
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
SKU = 1626044001;
Result = OPI_Ozon.GetDiscountInformation(ClientID, APIKey, SKU);
- Bash
- CMD/Bat
oint ozon GetDiscountInformation \
--clientid "***" \
--apikey "***" \
--sku 1626044001
oint ozon GetDiscountInformation ^
--clientid "***" ^
--apikey "***" ^
--sku 1626044001
Result
{
"items": []
}