1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00
OpenIntegrations/docs/en/examples/Ozon/UpdateProductsStocks.txt

12 lines
372 B
Plaintext
Raw Normal View History

2024-09-21 10:57:02 +03:00
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
2024-10-15 10:07:27 +03:00
ProductID = "1220696576";
2024-09-10 10:56:08 +03:00
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);