1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-07 23:03:08 +02:00
Files
OpenIntegrations/docs/en/examples/Ozon/UpdateProductsStocks.txt
Vitaly the Alpaca (bot) e2be9c7328 Main build (Jenkins)
2025-05-21 08:49:49 +03:00

12 lines
372 B
Plaintext
Vendored

ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1797823647";
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);