Amazon Product Advertising API Developer's Manual page 179

Api version 2011-08-01
Table of Contents

Advertisement

Product Advertising API Developer Guide
http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=[AWS Access Key
CartId=[CartId]&
HMAC=[HMAC]&
Operation=CartAdd&
Item.1.ASIN=[ASIN]&
Item.1.Quantity=3&
Item.1.ListItemId=[List item ID]
&Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]
This request adds 3 items from a list.
Sample Response
The following XML is a snippet of the full response to the first sample request.
<CartAddRequest>
<CartId>102-6666665-5792105</CartId>
<HMAC>oRqNBTpiRBugxEKEJ+FyUZkVbEg=</HMAC>
<Items>
<Item>
<ASIN>1400042127</ASIN>
<Quantity>1</Quantity>
</Item>
</Items>
</CartAddRequest>
</Request>
<CartId>102-6666665-5792105</CartId>
<HMAC>oRqNBTpiRBugxEKEJ+FyUZkVbEg=</HMAC>
<URLEncodedHMAC>oRqNBTpiRBugxEKEJ%2BFyUZkVbEg=</URLEncodedHMAC>
<PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=102-5929035-
5792105%26associate-id=ws%26hmac=oRqNBTpiRBugxEKEJ%2BFyUZkVbEg=%26AWSAccessKey
Id=[AWS Access Key
<SubTotal>
<Amount>3432</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$34.32</FormattedPrice>
</SubTotal>
Related Operations
CartCreate (p. 175)
CartGet (p. 181)
CartModify (p. 185)
CartClear (p. 173)
CartAdd
ID]&
ID]</PurchaseURL>
API Version 2011-08-01
172

Advertisement

Table of Contents
loading

Table of Contents