Amazon-SP-API-CSharp
Amazon-SP-API-CSharp copied to clipboard
Feed pricing failed
Whatever how long I wait, the update price action always stay at "IN PROGRESS"
I can not get ResultFeedDocumentId
ReportManager reportManager = new ReportManager(amazonConnection);
var products = reportManager.GetProducts();
var line1 = products.First();
var productRow = products.Take(1).Select(x => new PriceMessage()
{
SKU = x.SellerSku,
BusinessPrice = 999.99M,
MaximumSellerAllowedPrice = new StandardPrice()
{
currency = MarketPlace.Canada.CurrencyCode.ToString(),
Value = "999.99"
},
MinimumSellerAllowedPrice = new StandardPrice()
{
currency = MarketPlace.Canada.CurrencyCode.ToString(),
Value = "999.99"
},
StandardPrice = new StandardPrice()
{
currency = MarketPlace.Canada.CurrencyCode.ToString(),
Value = "999.99"
}
}).ToList();
ConstructFeedService createDocument = new ConstructFeedService("", "1.02");
createDocument.AddPriceMessage(productRow);
var xml = createDocument.GetXML();
var feedID = amazonConnection.Feed.SubmitFeed(xml, FeedType.POST_PRODUCT_PRICING_DATA);
Thread.Sleep(1000 * 60);
var feedOutput = amazonConnection.Feed.GetFeed(feedID);
var outPut = amazonConnection.Feed.GetFeedDocument(feedOutput.ResultFeedDocumentId);
var reportOutpit = outPut.Url;
var processingReport = await amazonConnection.Feed.GetFeedDocumentProcessingReportAsync(outPut.Url);
Console.WriteLine("Hello, World!");
I found not only Pricing like this, for inventory is the same, always keeping INPROGRESS.
I can get all orders, but it seems I can not modify anything.