You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
65
docs/en/examples/YandexMarket/AddUpdateProducts.txt
Normal file
65
docs/en/examples/YandexMarket/AddUpdateProducts.txt
Normal file
@@ -0,0 +1,65 @@
|
||||
Token = "ACMA:WRvGsjClMPDCqrhwBNOFRO...";
|
||||
AccountID = "172257075";
|
||||
Image = "https://api.athenaeum.digital/test_data/picture.jpg";
|
||||
Video = "https://api.athenaeum.digital/test_data/video.mp4";
|
||||
|
||||
UpdatesStructure = New Structure;
|
||||
|
||||
ItemStructure = New Structure;
|
||||
ItemStructure.Insert("offerId" , "11111");
|
||||
ItemStructure.Insert("name" , "Makita HP1630 impact drill, 710 W");
|
||||
ItemStructure.Insert("marketCategoryId", 15221861);
|
||||
ItemStructure.Insert("category" , "Drill");
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image);
|
||||
|
||||
ItemStructure.Insert("pictures", ImageArray);
|
||||
|
||||
VideosArray = New Array;
|
||||
VideosArray.Add(Video);
|
||||
|
||||
ItemStructure.Insert("videos", VideosArray);
|
||||
ItemStructure.Insert("vendor", "LEVENHUK");
|
||||
|
||||
BarcodesArray = New Array;
|
||||
BarcodesArray.Add("46012300000000");
|
||||
|
||||
ItemStructure.Insert("barcodes" , BarcodesArray);
|
||||
ItemStructure.Insert("description", "Description");
|
||||
|
||||
CountriesArray = New Array;
|
||||
CountriesArray.Add("Russia");
|
||||
|
||||
ItemStructure.Insert("manufacturerCountries", CountriesArray);
|
||||
|
||||
SizesStructure = New Structure;
|
||||
SizesStructure.Insert("length", 65.55);
|
||||
SizesStructure.Insert("width" , 50.7);
|
||||
SizesStructure.Insert("height", 20);
|
||||
SizesStructure.Insert("weight", 1.001);
|
||||
|
||||
ItemStructure.Insert("weightDimensions", SizesStructure);
|
||||
ItemStructure.Insert("vendorCode" , "VNDR-0005A");
|
||||
|
||||
TagsArray = New Array;
|
||||
TagsArray.Add("up to 500 roubles");
|
||||
|
||||
ItemStructure.Insert("tags", TagsArray);
|
||||
|
||||
PeriodStructure = New Structure;
|
||||
PeriodStructure.Insert("timePeriod", 24);
|
||||
PeriodStructure.Insert("timeUnit" , "HOUR");
|
||||
PeriodStructure.Insert("comment" , "Comment");
|
||||
|
||||
ItemStructure.Insert("shelfLife" , PeriodStructure);
|
||||
ItemStructure.Insert("lifeTime" , PeriodStructure);
|
||||
ItemStructure.Insert("guaranteePeriod" , PeriodStructure);
|
||||
ItemStructure.Insert("customsCommodityCode", 8517610008);
|
||||
ItemStructure.Insert("type" , "DEFAULT");
|
||||
ItemStructure.Insert("downloadable" , False);
|
||||
ItemStructure.Insert("adult" , False);
|
||||
|
||||
UpdatesStructure.Insert("offer", ItemStructure);
|
||||
|
||||
Result = OPI_YandexMarket.AddUpdateProducts(Token, AccountID, UpdatesStructure);
|
||||
4
docs/en/examples/YandexMarket/GetBusinessSettings.txt
Normal file
4
docs/en/examples/YandexMarket/GetBusinessSettings.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Token = "ACMA:WRvGsjClMPDCqrhwBNOFRO...";
|
||||
AccountID = "172257075";
|
||||
|
||||
Result = OPI_YandexMarket.GetBusinessSettings(Token, AccountID);
|
||||
4
docs/en/examples/YandexMarket/GetCampaignSettings.txt
Normal file
4
docs/en/examples/YandexMarket/GetCampaignSettings.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Token = "ACMA:WRvGsjClMPDCqrhwBNOFRO...";
|
||||
CampaignID = "129112733";
|
||||
|
||||
Result = OPI_YandexMarket.GetCampaignSettings(Token, CampaignID);
|
||||
4
docs/en/examples/YandexMarket/GetMarket.txt
Normal file
4
docs/en/examples/YandexMarket/GetMarket.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Token = "ACMA:WRvGsjClMPDCqrhwBNOFRO...";
|
||||
CampaignID = "129112733";
|
||||
|
||||
Result = OPI_YandexMarket.GetMarket(Token, CampaignID);
|
||||
3
docs/en/examples/YandexMarket/GetMarketsList.txt
Normal file
3
docs/en/examples/YandexMarket/GetMarketsList.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Token = "ACMA:WRvGsjClMPDCqrhwBNOFRO...";
|
||||
|
||||
Result = OPI_YandexMarket.GetMarketsList(Token);
|
||||
Reference in New Issue
Block a user