1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-27 21:48:56 +02:00
OpenIntegrations/docs/en/examples/Ozon/UpdateProductsStocks.txt
Vitaly the Alpaca (bot) 8cef4f91d9 Main build (Jenkins)
2024-10-14 10:18:00 +03:00

12 lines
372 B
Plaintext

ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1220696576";
Stocks = New Structure;
Stocks.Insert("offer_id" , "143210610");
Stocks.Insert("product_id" , ProductID);
Stocks.Insert("stock" , 20);
Stocks.Insert("warehouse_id", 1);
Result = OPI_Ozon.UpdateProductsStocks(ClientID, APIKey, Stocks);