The Cart response group provides information about a specified remote shopping cart and the items in it. The cart information includes:
CartId
HMAC
PurchaseURL
For each item in the cart, including SavedForLaterItems, the response group returns:
CartItemId
ProductName
ASIN
Quantity
ListPrice
OurPrice
Operations that can use this response group include:
The following table describes the elements returned by Cart.
The following response groups are parent response groups of Cart.
None
The following response groups are child response groups of Cart.
None
All locales.
http://ecs.amazonaws.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=[AWS Access Key ID]&
AssociateId=ws&
Operation=CartCreate&
Item.1.ASIN=B000062TU1&
MergeCart=True&
Item.1.Quantity=2&
Version=2008-08-19
&Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]
The following response snippet shows the elements returned by Cart.
<Cart>
<Request>
<IsValid>True</IsValid>
<CartCreateRequest>
<MergeCart>True</MergeCart>
<Items>
<Item>
<ASIN>B000062TU1</ASIN>
<Quantity>2</Quantity>
</Item>
</Items>
</CartCreateRequest>
</Request>
<CartId>002-5281165-2803250</CartId>
<HMAC>5i1uO0G/PHqkvxZqC8oRkzmCano=</HMAC>
<URLEncodedHMAC>5i1uO0G%2FPHqkvxZqC8oRkzmCano%3D</URLEncodedHMAC>
<PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=002-5281165-2803250%26associate-id=ws%26hmac=5i1uO0G/PHqkvxZqC8oRkzmCano=%26SubscriptionId=1VMXF86PGNDAX3FW9C02%26MergeCart=True</PurchaseURL>
<SubTotal>
<Amount>1994</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$19.94</FormattedPrice>
</SubTotal>
<CartItems>
<SubTotal>
<Amount>1994</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$19.94</FormattedPrice>
</SubTotal>
<CartItem>
<CartItemId>U2ABORWEFJ0WZP</CartItemId>
<ASIN>B000062TU1</ASIN>
<MerchantId>ATVPDKIKX0DER</MerchantId>
<SellerId>A2R2RITDJNW1Q6</SellerId>
<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>
</Cart>