问题
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:
- SubmitFeed() will return a FeedSubmissionID
- 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.
- 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