Get current promo products
Gets the products featured in the selected promotion
Function GetCurrentPromoProducts(Val ClientID, Val APIKey, Val PromoID, Val Indent = 0) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
ClientID | --clientid | String | ✔ | Client identifier |
APIKey | --apikey | String | ✔ | API key |
PromoID | --actionid | Number | ✔ | Promo ID |
Indent | --offset | Number | ✖ | Offst of items list |
Returns: Map Of KeyAndValue - serialized JSON response from Ozon Seller API
tip
Method at API documentation: post /v1/actions/products
1C:Enterprise/OneScript code example
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
PromoID = 111111111;
Result = OPI_Ozon.GetCurrentPromoProducts(ClientID, APIKey, PromoID);
- Bash
- CMD/Bat
oint ozon GetCurrentPromoProducts \
--clientid "***" \
--apikey "***" \
--actionid 111111111
oint ozon GetCurrentPromoProducts ^
--clientid "***" ^
--apikey "***" ^
--actionid 111111111
Result
{
"code": 5,
"message": "Resource not found",
"details": []
}