When submitting a feed, Amazon recommends using the FeedProcessingFinishedNotification notification to find
out when feed processing is complete. This eliminates the need to repeatedly poll
the GetFeedSubmissionList operation to find out when feed
processing is complete.
To submit a feed
- Subscribe to the FeedProcessingFinishedNotification
notification.
This is a one-time task. The
FeedProcessingFinishedNotification notification
tells you when feed processing is complete. For information about
subscribing to this notification, see What you should know about Amazon MWS push notifications.
- Call the SubmitFeed operation to submit a feed.
Note: If you are
subscribed to the FeedProcessingFinishedNotification
notification in multiple marketplaces and you specify one or more of those
marketplaces with a call to the SubmitFeed operation, you
will receive a notification for each marketplace that you
specify.
- Wait for the FeedProcessingFinishedNotification
notification.
When feed processing is complete, Amazon sends you the
FeedProcessingFinishedNotification notification
with the FeedProcessingStatus element set to one of the
following values:
- DONE - The feed was successfully submitted. Use the
FeedSubmissionId value included in the notification as input
for the GetFeedSubmissionResult operation in Step
4.
- CANCELLED - The feed was cancelled by the seller or by Amazon.
- Call the GetFeedSubmissionResult operation, specifying the
FeedSubmissionId value from the
FeedProcessingFinishedNotification notification that
you received in Step 3.
Amazon returns a processing report that describes
which records in the feed were successful and which records generated
errors.
Note: You have to set up a stream that Amazon MWS uses to write out the processing
report when you submit the GetFeedSubmissionResult
operation. Use the Amazon MWS
Feeds API section client library code for the
GetFeedSubmissionResult operation to create the
stream.
- Analyze the processing report, correct any errors in the file or transmission,
and resubmit the feed using the SubmitFeed operation. Repeat
the process until there are no errors in the processing report. When the
processing report is error free, the transmission is complete.