1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-10 04:18:47 +02:00
OpenIntegrations/docs/en/examples/Ozon/UpdateProductsStocks.txt
Vitaly the Alpaca (bot) ce6e0b1ee1 Main build (Jenkins)
2024-09-17 11:55:02 +03:00

12 lines
372 B
Plaintext

ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1188436622";
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);