Amazon MWS feed api not giving the result instantly . Is there any work arround?

徘徊边缘 提交于 2019-12-04 04:53:41

问题


We are working on amazon MWS feed api for doing the lot of stuffs like.

  • Publishing product

  • Updating inventory

  • Updating tracking info for orders.

But we are facing two problem basically.

  • 1st Amazon gets throttled if we cross their limit of request which is basically mostly with in 15 per hour.

  • 2nd Amazon is taking the feed after we don't have any info what actually happened whether that all the entries in the feed go through or some failed ?

Anyone has found any work around to these problems. I know we can create a system on our side and keep track of each feed and the data we are sending and from feed Submission result we can do the required changes in our database till that we will keep the status as hold / feed processing. But I want to know is there any simple work around this.

Thank in Advance Sandeep


回答1:


If you're doing 15 requests per hour or less, you should not hit any throttling. The quota is 30 SubmitFeed() calls per hour.

The entire SubmitFeed process is described in the MWS Developer Docs. In short, it works like this:

  1. SubmitFeed() will return a FeedSubmissionID
  2. Keep calling GetFeedSubmissionList() with above ID to check its processing state, wait >=2 minutes inbetween calls. Feeds are usually processed within 10 minutes, but sometimes may take as long as an hour to process.
  3. Once above call returns _DONE_ you calL GetFeedSubmissionResult() which returns a list of things that failed


来源:https://stackoverflow.com/questions/26402337/amazon-mws-feed-api-not-giving-the-result-instantly-is-there-any-work-arround

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!