Product Advertising API Developer Guide
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$19.94</FormattedPrice>
</ItemTotal>
</CartItem>
</CartItems>
</Cart>
This response shows all of the items in the specified cart.
Related Operations
•
CartAdd (p. 168)
•
CartClear (p. 173)
•
CartCreate (p. 175)
•
CartModify (p. 185)
CartModify
Description
The CartModify operation enables you to change the quantity of items that are already in a remote
shopping cart and move items from the active area of a cart to the SaveForLater area or the reverse.
To modify the number of items in a cart, you must specify the cart using the CartId and HMAC values
that are returned in the
CartCreate (p. 175)
returned. This value is the URL encoded version of the HMAC . This encoding is necessary because some
characters, such as + and /, cannot be included in a URL. Rather than encoding the HMAC yourself, use
the URLEncodedHMAC value for the HMAC parameter.
You can use CartModify to modify the number of items in a remote shopping cart by setting the value
of the Quantity parameter appropriately. You can eliminate an item from a cart by setting the value of
the Quantity parameter to zero. Or, you can double the number of a particular item in the cart by doubling
its Quantity . You cannot, however, use CartModify to add new items to a cart.
All CartModify requests must also include the value for AssociateTag that was used in the associated
CartCreate (p. 175)
request; otherwise, the request will fail.
Availability
All locales.
CartModify
operation. A value similar to HMAC , URLEncodedHMAC , is also
API Version 2011-08-01
185
Need help?
Do you have a question about the Product Advertising API and is the answer not in the manual?
Questions and answers