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 for completing the purchase.

To offer better experience to your visitors, you may want to redirect to Amazon cart page in a new window. This would allow the customer to return to your site post checkout.

Some parameters are optional, but you must specify quantity and at least one of the following parameters: ASIN or OfferListingId. AssociateTag is must for attribution.

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=10").

The Add to Cart form works with all locales. Send the Add to Cart form data to one of the following URLs:

Locale Add to Cart form URL
Australia https://www.amazon.com.au/gp/aws/cart/add.html
Brazil https://www.amazon.com.br/gp/aws/cart/add.html
Canada https://www.amazon.ca/gp/aws/cart/add.html
France https://www.amazon.fr/gp/aws/cart/add.html
Germany https://www.amazon.de/gp/aws/cart/add.html
India https://www.amazon.in/gp/aws/cart/add.html
Italy https://www.amazon.it/gp/aws/cart/add.html
Japan https://www.amazon.co.jp/gp/aws/cart/add.html
Mexico https://www.amazon.com.mx/gp/aws/cart/add.html
Spain https://www.amazon.es/gp/aws/cart/add.html
Turkey https://www.amazon.com.tr/gp/aws/cart/add.html
United Arab Emirates https://www.amazon.ae/gp/aws/cart/add.html
United Kingdom https://www.amazon.co.uk/gp/aws/cart/add.html
United States https://www.amazon.com/gp/aws/cart/add.html

The following table describes the input parameters for the Add to Cart form.

Parameter Description Required
ASIN.x Specifies one or more product ASINs to add, where x is a unique identifier. Optional
Quantity.x Specifies quantity for item, where x is a unique identifier. Required
OfferListingId.x An alternative way to specify one or more product offer listings from third-party sellers, where x is a unique identifier. Optional
AWSAccessKeyId Your Access Key ID Here. You may want to specify this as a hidden parameter. Required
AssociateTag Your associate tag. You may want to specify this as a hidden parameter. Required

Example HTML for the Add to Cart Form

<form method="GET" action="https://www.amazon.com/gp/aws/cart/add.html"> 
<input type="hidden" name="AWSAccessKeyId" value="Access Key ID" /><br/> 
<input type="hidden" name="AssociateTag" value="Associate Tag" /><br/> 
<p>One Product<br/> 
ASIN:<input type="text" name="ASIN.1"/><br/> 
Quantity:<input type="text" name="Quantity.1"/><br/> 
<p>Another Product<br/> 
ASIN:<input type="text" name="ASIN.2"/><br/> 
Quantity:<input type="text" name="Quantity.2"/><br/> 
</p> 
<input type="submit" name="add" value="add" /> 
</form>

results matching ""

    No results matching ""