Amazon Product Advertising API Developer's Manual page 178

Api version 2011-08-01
Table of Contents

Advertisement

Product Advertising API Developer Guide
Name
Items
PurchaseURL
Quantity
Subtotal
For more information about the parent elements of these tags, see the appropriate response group in
Response Groups (p. 213)
Examples
Add a single item to the cart:
http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=[AWS Access Key
CartId=[CartId]&
HMAC=[HMAC]&
Operation=CartAdd&
Item.1.OfferListingId=[Offer Listing
Item.1.Quantity=1
&Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]
The response to this request is shown in,
Add multiple items to the cart.
http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=[AWS Access Key
CartId=[CartId]&
HMAC=[HMAC]&
Operation=CartAdd&
Item.1.OfferListingId=[Offer Listing
Item.1.Quantity=1&
Item.2.OfferListingId=[Offer Listing
Item.2.Quantity=3&
Item.3.OfferListingId=[Offer Listing
Item.3.Quantity=1
&Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]
This request adds three different items to a cart. A cart can carry up to fifty different items and each item
can have a maximum Quantity value of 999..
Add to the cart an item from a list.
CartAdd
Description
Container for one or more item(s).
URL that customers should use to purchase the items in the cart. It
includes the Associate's ID. It is important that they use this URL
otherwise the Associate will not get credit for the purchase.
Number of items added to cart.
Container for Amount, CurrencyCode, and FormattedPrice
ID]&
ID]&
Response to Sample Request (p.
ID]&
ID]&
ID]&
ID]&
API Version 2011-08-01
171
167).

Advertisement

Table of Contents
loading

Table of Contents