</ItemAttributes>
</Item>
This response shows that one item, Mark VII Men's Short Sleeve Knit Golf Shirt, was found that is similar
to the ASIN specified in the request.
Specifying Multiple Items
The
SimilarityLookup
operation enables you to specify multiple items in a request, for example:
http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=
[AWS Access Key ID]
&
Operation=SimilarityLookup&
ItemId=ASIN1,ASIN2,ASIN3
&Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]
The response contains either items that are:
• Similar to all of the items specified in the request (intersection)
• Similar to one or more of the items specified in the request (union)
You specify the intersection or union of similar ASINs by setting the value of the
SimilarityType
parameter in a
SimilarityLookup
request. The possible parameter values are:
• Intersection, which means that the items returned are similar to all of the items specified in the
SimilarityLookup
request. This value is the default.
• Random, which means that the items returned are similar to at least one of the items specified in the
SimilarityLookup
request.
The second value is called Random because the similar items returned are a random pick of all similar
items found. The operation can only return up to ten similar items. So, it is possible, if there are more
than ten similar items, that identical
SimilarityLookup
requests can return different lists of similar
items. It is also possible for the operation to return no similar items. This response is returned as an error
message, for example:
<Error>
<Code>AWS.ECommerceService.NoSimilarities</Code>
<Message>There are no similar items for this ASIN: B000B776KY.
API Version 2011-08-01
115
Product Advertising API Developer Guide
Suggesting Similar Items to Buy