mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-02-03 13:22:19 +02:00
863 B
863 B
sidebar_position |
---|
1 |
Get promotions list
Gets a list of available promotions
Function GetPromotionsList(Val ClientID, Val APIKey) Export
Parameter | CLI option | Type | 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
:::
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
Result = OPI_Ozon.GetPromotionsList(ClientID, APIKey);
oint ozon GetPromotionsList --clientid "2128753" --apikey "7cc90d26-33e4-499b..."
{
"result": []
}