1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00

OZON: Обновление цен и получение остатков

This commit is contained in:
Anton Titovets
2024-09-09 13:44:35 +03:00
parent 32c9560954
commit 9409ecdee7
27 changed files with 3532 additions and 2603 deletions

View 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);

View File

@@ -1,4 +1,4 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
Result = OPI_Ozon.GetWarehousesList(ClientID, APIKey);

View 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);