Skip to content

Commit

Permalink
change test
Browse files Browse the repository at this point in the history
  • Loading branch information
abuzuhri committed May 5, 2022
1 parent aa80071 commit 926b3c4
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions Source/FikaAmazonAPI.SampleCode/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 926b3c4

Please sign in to comment.