The ListSearch and ListLookup operations return information about Amazon lists. You can use this information to display the lists in your application or provide a way for others to purchase items from a list.
There are four types of lists available through ECS:
A customer can set list access restrictions to public, shared, or private. Public lists are accessible by everyone, private lists are not accessible, and shared lists, on the retail web site, are accessible only to people whom the customer identifies. ECS functionality, however, is different. Shared lists, like private lists, are never accessible.
Use list IDs to reference a list. There are two ways to find list IDs: using the ListSearch operation and finding the ID using an Amazon web site. See ListSearch Operation for more information on the ListSearch operation. The following tables illustrate where to find list IDs in the URL for an Amazon site.
URLs for WishList IDs
| Locale | URL |
|---|---|
| US | http://www.amazon.com/gp/registry/[ID] |
| UK | http://www.amazon.co.uk/exec/obidos/registry/[ID] |
| DE | http://www.amazon.de/exec/obidos/registry/[ID] |
| JP | http://www.amazon.co.jp/exec/obidos/registry/[ID] |
| FR | http://www.amazon.fr/exec/obidos/registry/[ID] |
| CA | http://www.amazon.ca/exec/obidos/registry/[ID] |
URLs for Listmania List IDs
| Locale | URL |
|---|---|
| US | http://www.amazon.com/exec/obidos/tg/listmania/list-browse/-/[ID] |
| UK | http://www.amazon.co.uk/exec/obidos/tg/listmania/list-browse/-/[ID] |
| DE | http://www.amazon.de/exec/obidos/tg/listmania/list-browse/-/[ID] |
| JP | http://www.amazon.co.jp/exec/obidos/tg/listmania/list-browse/-/[ID] |
| FR | http://www.amazon.fr/exec/obidos/tg/listmania/list-browse/-/[ID] |
| CA | http://www.amazon.ca/exec/obidos/tg/listmania/list-browse/-/[ID] |
URLs for WeddingRegistry and BabyRegistry List IDs
| Locale | URL |
|---|---|
| US | http://www.amazon.com/exec/obidos/registry/[ID] |
Currently, it is not possible to add items to a list using ECS. Use an Amazon web site to add items to a list:
When you purchase an item from a wish list or registry on an Amazon site, the list updates to show that an item was purchased. Your application can also update a list when a customer purchases an item using the information returned by the ListSearch and ListLookup operations. There are two ways for a customer to purchase an item from a list:
The ListItems response group returns a ListItemId element for each item in a wish list or registry. Use the value of this element along with the item's ASIN to add a list item to a remote shopping cart.
Sample Request (REST)
http://webservices.amazon.com/onca/xml?
AWSAccessKeyId=[Your Access Key ID Here]&
Service=AWSECommerceService&
Operation=CartCreate&
Item.1.Quantity=1&
Item.1.ASIN=B00003CXCT&
Item.1.ListItemId=I1JRCAX9I2BC5W
Some response groups, such as Small, return the DetailPageURL element. A customer that goes to the URL has the option to purchase the item, and the wish list or registry updates accordingly.