Menu
Product Advertising API
Developer Guide (API Version 2013-08-01)

Get Top Sellers from the Shopping Cart

The CartTopSellers response group returns the ASINs and titles of the top five best sellers in the root category of the item specified in the cart operation. For example, when you add a television to a cart, the five top sellers in the root category, electronics, such as computers or cameras, are returned.

The CartTopSellers response group can be used with most cart operations. The following request searches for top sellers that share the same root browse node as the item in the cart, ASIN B000062TU1.

http://webservices.amazon.com/onca/xml? Service=AWSECommerceService& AWSAccessKeyId=[AWS Access Key ID]& AssociateTag=[Associate Tag]& Operation=CartCreate& Item.1.ASIN=B000062TU1& Item.1.Quantity=2& ResponseGroup=CartTopSellers &Timestamp=[YYYY-MM-DDThh:mm:ssZ] &Signature=[Request Signature]

The following response shows two top sellers.

<TopSellers> <TopSeller> <ASIN>B00005JOFQ</ASIN> <Title>Brokeback Mountain (Widescreen Edition)</Title> </TopSeller> <TopSeller> <ASIN>B000E6EK3S</ASIN> <Title>Harry Potter and the Goblet of Fire (Widescreen Two-Disc Deluxe Edition)(Harry Potter 4)</Title> </TopSeller> </TopSellers>