Get promotions list
Gets a list of available promotions
Function GetPromotionsList(Val ClientID, Val APIKey) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
ClientID | --clientid | String | ✔ | Client identifier |
APIKey | --apikey | String | ✔ | API key |
Returns: Map Of KeyAndValue - serialized JSON response from Ozon Seller API
tip
Method at API documentation: post /v1/actions
1C:Enterprise/OneScript code example
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
Result = OPI_Ozon.GetPromotionsList(ClientID, APIKey);
- Bash
- CMD/Bat
oint ozon GetPromotionsList \
--clientid "***" \
--apikey "***"
oint ozon GetPromotionsList ^
--clientid "***" ^
--apikey "***"
Result
{
"result": []
}