1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-10 04:18:47 +02:00
OpenIntegrations/docs/en/examples/Ozon/UpdateProductsPrices.txt
Vitaly the Alpaca (bot) 7ed0455efe Main build (Jenkins)
2024-10-12 15:46:40 +03:00

16 lines
640 B
Plaintext

ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1220696576";
Prices = New Structure;
Prices.Insert("auto_action_enabled" , "DISABLED");
Prices.Insert("currency_code" , "RUB");
Prices.Insert("min_price" , "1300");
Prices.Insert("offer_id" , "143210610");
Prices.Insert("old_price" , "1400");
Prices.Insert("price" , "1300");
Prices.Insert("price_strategy_enabled", "DISABLED");
Prices.Insert("product_id" , ProductID);
Result = OPI_Ozon.UpdateProductsPrices(ClientID, APIKey, Prices);