diff --git a/Source/FikaAmazonAPI.SampleCode/Program.cs b/Source/FikaAmazonAPI.SampleCode/Program.cs index cfdd5dd6..9f02b00b 100644 --- a/Source/FikaAmazonAPI.SampleCode/Program.cs +++ b/Source/FikaAmazonAPI.SampleCode/Program.cs @@ -32,22 +32,28 @@ static async Task Main(string[] args) ClientSecret = config.GetSection("FikaAmazonAPI:ClientSecret").Value, RefreshToken = config.GetSection("FikaAmazonAPI:RefreshToken").Value, MarketPlace = MarketPlace.GetMarketPlaceByID(config.GetSection("FikaAmazonAPI:MarketPlaceID").Value), - IsActiveLimitRate = false }); - var fbaSmallAndLightSample = new FbaSmallAndLightSample(amazonConnection); - //await fbaSmallAndLightSample.GetSmallAndLightEnrollmentBySellerSKUAsync(); - //await fbaSmallAndLightSample.GetSmallAndLightEligibilityBySellerSKUAsync(); - await fbaSmallAndLightSample.GetSmallAndLightFeePreviewAsync(); - return; + for (int i = 0; i < 100; i++) + { + var plci = new FikaAmazonAPI.Parameter.CatalogItems.ParameterListCatalogItems(); + plci.UPC = "079325772114"; + plci.MarketplaceId = FikaAmazonAPI.Utils.MarketPlace.UnitedArabEmirates.ID; + + var response22 = amazonConnection.CatalogItem.ListCatalogItems(plci); + } + + + + var fbaSmallAndLightSample = new FbaSmallAndLightSample(amazonConnection); - FikaAmazonAPI.Parameter.CatalogItems.ParameterListCatalogItems plci = new FikaAmazonAPI.Parameter.CatalogItems.ParameterListCatalogItems(); - plci.UPC = "079325772114"; - plci.MarketplaceId = FikaAmazonAPI.Utils.MarketPlace.UnitedArabEmirates.ID; + ////await fbaSmallAndLightSample.GetSmallAndLightEnrollmentBySellerSKUAsync(); + ////await fbaSmallAndLightSample.GetSmallAndLightEligibilityBySellerSKUAsync(); + //await fbaSmallAndLightSample.GetSmallAndLightFeePreviewAsync(); + //return; - amazonConnection.CatalogItem.ListCatalogItems(plci); var dataShipment = amazonConnection.FulFillmentInbound.GetShipmentItemsByShipmentId("FBA15D7NR6M9");