Skip to content

Commit

Permalink
OZON: Загрузка и проверка изображений товаров
Browse files Browse the repository at this point in the history
  • Loading branch information
Bayselonarrend committed Aug 26, 2024
1 parent d329138 commit 80b73ce
Show file tree
Hide file tree
Showing 20 changed files with 3,921 additions and 3,128 deletions.
5 changes: 5 additions & 0 deletions docs/en/data/Ozon/CheckProductsImagesUpload.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"ClientID": "2128753",
"APIKey": "7cc90d26-33e4-499b...",
"ProductID": 1111588191
}
7 changes: 7 additions & 0 deletions docs/en/data/Ozon/UpdateProductImages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ClientID": "2128753",
"APIKey": "7cc90d26-33e4-499b...",
"ProductID": 1111588191,
"Image1": "https://openintegrations.dev/test_data/picture.jpg",
"Image2": "https://openintegrations.dev/test_data/picture2.jpg"
}
5 changes: 5 additions & 0 deletions docs/en/examples/Ozon/CheckProductsImagesUpload.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1111588191";

Result = OPI_Ozon.CheckProductsImagesUpload(ClientID, APIKey, ProductID);
19 changes: 19 additions & 0 deletions docs/en/examples/Ozon/UpdateProductImages.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1111588191";

Image1 = "https://openintegrations.dev/test_data/picture.jpg";
Image2 = "https://openintegrations.dev/test_data/picture2.jpg";

MarketingColor = "GREEN";

ImagesArray = New Array;
ImagesArray.Add(Image1);
ImagesArray.Add(Image2);

Result = OPI_Ozon.UpdateProductImages(ClientID
, APIKey
, ProductID
, ImagesArray
,
, MarketingColor);
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"IDКлиента": "2128753",
"КлючAPI": "7cc90d26-33e4-499b...",
"IDТовара": 1111588191,
"Картинка1": "https://openintegrations.dev/test_data/picture.jpg",
"Картинка2": "https://openintegrations.dev/test_data/picture2.jpg"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"IDКлиента": "2128753",
"КлючAPI": "7cc90d26-33e4-499b...",
"IDТовара": 1111588191
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
IDТовара = "1111588191";

Картинка1 = "https://openintegrations.dev/test_data/picture.jpg";
Картинка2 = "https://openintegrations.dev/test_data/picture2.jpg";

МаркетинговыйЦвет = "GREEN";

МассивИзображений = Новый Массив;
МассивИзображений.Добавить(Картинка1);
МассивИзображений.Добавить(Картинка2);

Результат = OPI_Ozon.ОбновитьИзображенияТовара(IDКлиента
, КлючAPI
, IDТовара
, МассивИзображений
,
, МаркетинговыйЦвет);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
IDТовара = "1111588191";

Результат = OPI_Ozon.ПроверитьЗагрузкуИзображенийТоваров(IDКлиента, КлючAPI, IDТовара);
Loading

0 comments on commit 80b73ce

Please sign in to comment.