The Small response group returns basic information about items in a response. The information includes the item's ASIN, DetailPageURL, title, product group, and author.
This response group is often used with ItemLookup, ItemSearch, or SimilarityLookup to return basic information about the items in the response.
Operations that can use this response group include:
The following table describes the elements returned by Small. The elements on the left side of a slash mark are the parents of the elements on the right side of the slash mark.
| Response Element | Ancestry | Definition |
|---|---|---|
Actor
| ItemAttributes/Actor | An actor associated with the item. |
Artist
| ItemAttributes/Artist | The artist that is associated with the item. |
ASIN
| Item/ASIN | A number distributed by Amazon that uniquely identifies an item. |
Author
| ItemAttributes/Author | The author of the item. |
CorrectedQuery
| Items/CorrectedQuery | The word used in the search. ItemSearch corrects misspelled words in requests and uses the corrected word in the search. |
Creator
| ItemAttributes/Creator | The creator of the item. This tag takes an attribute field, role. For more information, see Role below. |
DetailPageURL
| Item/DetailPageURL | URL for an Amazon web page that describes the item and makes it available for adding to a cart. |
Director
| ItemAttributes/Director | The director associated with the item. |
Keywords
| Items/CorrectedQuery/Keywords | Keyword used in the search. See CorrectedQuery. |
Manufacturer
| ItemAttributes/Manufacturer | The item's manufacturer. |
Message
| Items/CorrectedQuery/Message | A message that states that the word in the request was misspelled and so a corrected word was used in the request instead. See CorrectedQuery. |
ProductGroup
| ItemAttributes/ProductGroup | The product group to which the item belongs. |
Role
| ItemAttributes/Creator/Role | An attribute value within the Creator tag that explains what part the Creator played in the creation of the item, for example, <Creator Role="Contributor">German Arciniegas</Creator> or <Creator Role="Editor">Benjamin Villegas</Creator> |
Title
| ItemAttributes/Title | The title of the item. |
TotalPages
| Items/TotalPages | The total number of pages found. There are up to ten items per page. |
TotalResults
| Items/TotalResults | The total number of items found. |
Small also returns the elements that all response groups return, which is described in Elements Common to All Response Groups.
The following response groups are parent response groups of Small.
The following request was used to illustrate the XML response elements returned by Small.
http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService& AWSAccessKey=[Access Key ID]& Operation=ItemSearch& Condition=All& SearchIndex=Blended& Keywords=Mustan& Merchant=All& ResponseGroup=Small
The following response snippet shows the elements returned by Small.
<CorrectedQuery>
<Keywords>mustang</Keywords>
<Message>We found no matches for (keywords=Mustan). Below are results for (keywords=mustang).</Message>
</CorrectedQuery>
<Item>
<ASIN>B0002Y69UO</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=B0002Y69UO%2526tag=ws%2526lcode=xm2%2526cID=2025%2526ccmID=165953%2526location=/o/ASIN/B0002Y69UO%25253FSubscriptionId=1V9M7E1ZATWETZDS6W82</DetailPageURL>
<ItemAttributes>
<Actor>America's Favorite Cars</Actor>
<ProductGroup>DVD</ProductGroup>
<Title>America's Favorite Cars - The Complete Mustang 40th Anniversary</Title>
</ItemAttributes>
</Item>
Notice that the Keywords value, Mustan, was considered misspelled. The search results were for the word, Mustang, instead.