im using the \"C# Library for Batch Data Exchange Feeds\" from https://mws.amazon.com/doc/en_US/bde/feeds/v20090901/cSharp.html
I want to update the quantity of a produc
Thread.Sleep(240000);
errorMessage = string.Empty;
errorArticleIDList = new SortedList<string, string>();
if (GetSubmitFeedReport(feedSubmissionId, out errorMessage, out errorArticleIDList))
{
if (errorMessage != string.Empty)
{
_log.ErrorFormat("FEHLER UpdateAmazonArticleStock: {0}", errorMessage);
}
foreach (AmazonArticleInfo amzArticle in rcavAmzArticleList)
{
if (errorArticleIDList.Count > 0)
{
if (!errorArticleIDList.ContainsKey(amzArticle.ArticleID.ToString()))
{
// Die Artikelbestände von den relevanten Artikel aktuallisieren, bzw deaktivierte Artikel wieder aktivieren
// Bestand = 0 --> deaktiviert
if (!amzArticle.StockToLow && !amzArticle.NotAmazonRelevant)
{
amzArticle.AmazonActive = true;
}
// Alle nicht mehr relevanten Artikel in amazon deaktivieren
else
{
amzArticle.AmazonActive = false;
}
dlAmazon.UpdateAmazonArticleAVDB(amzArticle);
}
}
else
{
if (errorMessage == string.Empty)
{
dlAmazon.UpdateAmazonArticleAVDB(amzArticle);
}
}
}
}
You should check the status of your feed by its ID by using the operation getfeedsubmissionresult