Seller Central
Seller Forums

Amazon Seller Forums » Amazon Marketplace Web Service (MWS) » Marketplace Web Service (Amazon MWS) Questions

Thread: How to get specific submitted feeds' statuses with GetFeedsSubmissionList
Thread Archived This thread has been archived - replies are not allowed.



Permlink Replies: 2 - Pages: 1 - Last Post: 09 Aug, 2012 1:16 PM by: Garvco
Garvco

Posts: 6
Registered: 09 Aug, 12 4:49 PM
Posted on: 09 Aug, 2012 12:44 PM
Click to report abuse...
This was not at all obvious to me from the Feeds API Section Reference or the code comments.

To get the status of several feeds in one GetFeedsSubmissionList call, pass an array of FeedSubmissionIds in the associative array you pass to the MarketplaceWebService_Model_GetFeedSubmissionListRequest constructor, e.g.:

$parameters = array (
'Merchant' => MERCHANT_ID,
'FeedSubmissionIdList' => array(
'Id' => array(FeedSubmissionIdList 1, ... FeedSubmissionIdList n),
),
);

$request = new MarketplaceWebService_Model_GetFeedSubmissionListRequest($parameters);
Oneida Books

Posts: 21,225
Registered: 04 Mar, 12 10:55 PM
Posted on: 09 Aug, 2012 12:57 PM   in response to: Garvco in response to: Garvco
Click to report abuse...
Fun ... isn't it?

However the use of the arrays is common within the calls with probably the exception of the Product API ......
Garvco

Posts: 6
Registered: 09 Aug, 12 4:49 PM
Posted on: 09 Aug, 2012 1:16 PM   in response to: Oneida Books in response to: Oneida Books
Click to report abuse...
Thanks, I'll keep it in mind. I'm still on the learning/discovery curve.