Required
Description
Name
Yes
The Hash Message Authentication Code is an encrypted
alphanumeric token that is used to authenticate requests.
Type: String
Default: None
Valid Values: Value is calculated using request parameters,
their values, a cryptographic function, and the Secret Key,
which acts as the "key" for the function.
HMAC
Deprecated
This parameter is deprecated. When a customer purchases
items in a remote shopping cart, the items are added to
the customer’s Amazon retail shopping cart.
MergeCart
No
Specifies the types of values to return. You can specify
multiple response groups in one request by separating
them with commas.
Type: String
Default:
Cart (p. 221)
ResponseGroup
CartClear
also accepts the parameters that all operations can use. For more information, see,
Common
Request Parameters (p. 210)
.
Response
Description
Name
Container for remote shopping cart related response elements.
Cart
Container for
CartClear
and
HMAC
.
CartClearRequest
Alphanumeric token returned by
CartCreate
that uniquely identifies
a cart.
CartId
Hash Message Authentication Code returned by
CartCreate
that
identifies a cart. This is an encrypted alphanumeric token that is used
to authenticate cart operations.
HMAC
URL encoded version of the
HMAC
. This encoding is necessary because
some characters, such as + and /, cannot be included in a URL.
URLEncodedHMAC
For more information about the parent elements of these tags, see the appropriate response group in
Response Groups (p. 213)
Examples
Remove all items from a specified cart:
http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=
[AWS Access Key ID]
&
API Version 2011-08-01
174
Product Advertising API Developer Guide
CartClear