<CartItemId>U3KYV0C66V3PAA</CartItemId>
<ASIN>B000062TU1</ASIN>
<SellerNickname>Amazon.com, LLC</SellerNickname>
<Quantity>2</Quantity>
<Title>Harry Potter and the Sorcerer's Stone (Full Screen Edition)(Harry
Potter 1)</Title>
<ProductGroup>DVD</ProductGroup>
<Price>
<Amount>997</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$9.97</FormattedPrice>
</Price>
<ItemTotal>
<Amount>1994</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$19.94</FormattedPrice>
</ItemTotal>
</CartItem>
</CartItems>
You could, for example, use the
CartItemId
in a
CartModify
operation to change the quantity of that
item. You could also use the
PurchaseURL
to purchase the items in the cart.
Add to Cart Form
The Add to Cart form enables you to add any number of items to a customer's shopping cart and send
the customer to the Amazon retail web site.
Note
There is no direct way for a customer to get back to your site after getting sent to the Amazon
site. To improve a customer's experience on your site, you may want to note this on your site or
provide a way to get back to your site (using a new window, for example).
Although the parameters are optional, but you must specify at least one of the following parameters: ASIN
or OfferListingId.
To add more than one item to the customer's cart
• Append each set of parameters with a period, then a unique identifier, which establishes a relationship
between the parameters (for example, "ASIN.1=
[ASIN]
&Quantity.1=1&ASIN.2=[Another
ASIN]&Quantity.2=12").
The Add to Cart form works with all locales. Send the Add to Cart form data to one of the following URLs:
• http://www.amazon.com/gp/aws/cart/add.html
• http://www.amazon.co.jp/gp/aws/cart/add.html
• http://www.amazon.co.uk/gp/aws/cart/add.html
• http://www.amazon.de/gp/aws/cart/add.html
• http://www.amazon.fr/gp/aws/cart/add.html
• http://www.amazon.ca/gp/aws/cart/add.html
API Version 2011-08-01
146
Product Advertising API Developer Guide
Add to Cart Form