Amazon Web services - retrieving a wishlist
Posted
by izb
on Stack Overflow
See other posts from Stack Overflow
or by izb
Published on 2009-01-09T10:18:35Z
Indexed on
2010/04/16
14:43 UTC
Read the original article
Hit count: 663
I've been tinkering with Yahoo Pipes and the Amazon E-Commerce Service (ECS) SDK to retrieve my wishlist.
The problem is that although I can get all the items on my wishlist just fine, it seems to include items that I've deleted too.
Has anyone else used this API and noticed this? Is there a way around it?
UPDATE:
Requested additional information in comments...
Here is the URL I use to fetch the wishlist XML:
http://webservices.amazon.co.uk/onca/xml?SubscriptionId=[my subs id]&Service=AWSECommerceService&ResponseGroup=ListItems&ProductPage=1&ProductGroup=Book&Operation=ListLookup&ListType=WishList&ListId=[my list id]
And here is the relevant part of the XML response:
<ListId>[my list id]</ListId>
<ListName>Wishlist</ListName>
<TotalItems>132</TotalItems>
<TotalPages>14</TotalPages>
<ListItem>
<ListItemId>EPIE5559HKT391</ListItemId>
<DateAdded>2003-11-17</DateAdded>
<QuantityDesired>1</QuantityDesired>
<QuantityReceived>0</QuantityReceived>
<Item>
<ASIN>5557205521</ASIN>
<ItemAttributes>
<Title>Horton hears a who</Title>
</ItemAttributes>
</Item>
</ListItem>
...
The rest of the XML is just either more list items like that, or information about the request at the top of the response.
© Stack Overflow or respective owner