Using SimilarityLookup
When you put an item ID in a SimilarityLookup
operation
requires, the response includes similar items. In previous sections, you saw that
you can use the Similarities
response group to return similar
items. So, why use SimilarityLookup
? This operation gives you
the following advantages:
-
SimilarityLookup
provides a number of request parameters, such asMerchantId
andCondition
, to help filter the response -
SimilarityLookup
is able to use many response groups to customize the information in the response -
You can specify more than one item in a request and find items that are similar to all of them, or similar to each item in the request
The following request returns items similar to the specified ASIN.
http://ecs.amazonaws.com/onca/xml? Service=AWSECommerceService& AWSAccessKeyId=[AWS Access Key ID]
& Operation=SimilarityLookup
& ItemId=[ASIN]
The following XML is a snippet of the full response.
<Item>
<ASIN>B0009VX8VI</ASIN>
<DetailPageURL>http://www.amazon.com/exec/obidos/redirect?tag=ws%26link_code=xm2%26camp=2025%26creative=165953%26path=http://www.amazon.com/gp/redirect.html%253fASIN=B0009VX8VI%2526tag=ws%2526lcode=xm2%2526cID=2025%2526ccmID=165953
%2526location=/o/ASIN/B0009VX8VI%25253FAWSAccessKeyId=[AWS Access Key ID]
</DetailPageURL>
<ItemAttributes>
<ProductGroup>Apparel</ProductGroup>
<Title>Mark VII Men's Short Sleeve Knit Golf Shirt</Title>
</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.