Amazon-SP-API-CSharp icon indicating copy to clipboard operation
Amazon-SP-API-CSharp copied to clipboard

Feed pricing failed

Open Coder7777 opened this issue 2 years ago • 1 comments

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!");
image

Coder7777 avatar Sep 26 '23 21:09 Coder7777

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.

Coder7777 avatar Sep 26 '23 21:09 Coder7777