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 = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Result = OPI_Ozon.GetPromotionsList(ClientID, APIKey);
- Bash
- CMD/Bat
oint ozon GetPromotionsList \
--clientid "***" \
--apikey "***"
oint ozon GetPromotionsList ^
--clientid "***" ^
--apikey "***"
Result
{
"result": []
}