You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
OZON: Обновление цен и получение остатков
This commit is contained in:
11
docs/en/examples/Ozon/GetProductsStocks.txt
Normal file
11
docs/en/examples/Ozon/GetProductsStocks.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
ClientID = "2128753";
|
||||
APIKey = "7cc90d26-33e4-499b...";
|
||||
|
||||
IDArray = New Array;
|
||||
IDArray.Add("143210608");
|
||||
|
||||
Filter = New Structure;
|
||||
Filter.Insert("visibility" , "ALL");
|
||||
Filter.Insert("offer_id" , IDArray);
|
||||
|
||||
Result = OPI_Ozon.GetProductsStocks(ClientID, APIKey, Filter);
|
||||
@@ -1,4 +1,4 @@
|
||||
ClientID = "2128753";
|
||||
APIKey = "7cc90d26-33e4-499b...";
|
||||
ClientID = "2128753";
|
||||
APIKey = "7cc90d26-33e4-499b...";
|
||||
|
||||
Result = OPI_Ozon.GetWarehousesList(ClientID, APIKey);
|
||||
|
||||
15
docs/en/examples/Ozon/UpdateProductsPrices.txt
Normal file
15
docs/en/examples/Ozon/UpdateProductsPrices.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
ClientID = "2128753";
|
||||
APIKey = "7cc90d26-33e4-499b...";
|
||||
ProductID = "1111588191";
|
||||
|
||||
Prices = New Structure;
|
||||
Prices.Insert("auto_action_enabled" , "DISABLED");
|
||||
Prices.Insert("currency_code" , "RUB");
|
||||
Prices.Insert("min_price" , "200");
|
||||
Prices.Insert("offer_id" , "143210608");
|
||||
Prices.Insert("old_price" , "0");
|
||||
Prices.Insert("price" , "200");
|
||||
Prices.Insert("price_strategy_enabled", "DISABLED");
|
||||
Prices.Insert("product_id" , ProductID);
|
||||
|
||||
Result = OPI_Ozon.UpdateProductsPrices(ClientID, APIKey, Prices);
|
||||
Reference in New Issue
Block a user