Skip to main content

Get available promo products

Gets the products available in the selected promotion

Function GetAvailablePromoProducts(Val ClientID, Val APIKey, Val PromoID, Val Indent = 0) Export

ParameterCLI optionTypeDescription
ClientID--clientidStringClient identifier
APIKey--apikeyStringAPI key
PromoID--actionidNumberPromo ID
Indent--offsetNumberOffst of items list

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


tip

Method at API documentation: post /v1/actions/candidates


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

Result = OPI_Ozon.GetAvailablePromoProducts(ClientID, APIKey, PromoID);
CLI command example
    
oint ozon GetAvailablePromoProducts --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --actionid %actionid% --offset %offset%

Result
{
"code": 5,
"message": "Resource not found",
"details": []
}