ItemAttributes レスポンスグループを使用すると、商品を説明する多数の属性を返すことができます。例えば、Camera and Photo サーチインデックスの商品は、属性として、高さ、幅、重量、タイトル、UPC、価格、メーカー、ズーム倍率、メガピクセル数、キャリーケースを返します。
全てのサーチインデックスで全ての商品属性を返すことができます。ただし、返される商品属性の数は、ASIN によって異なります。通常、同じサーチインデックス内の ASIN は同じ商品属性を返します。例えば、"Books" サーチインデックス内の商品に対して返される商品属性は、"Camera and Photo" サーチインデックス内の商品に対して返されるものとは異なります。ただし、1つのサーチインデックス内の全商品が必ずしも同じ属性を返すとは限りません。そのため、レスポンスで返される商品属性を正確に予測することはできません。
次の表では、ItemAttributes によって返される要素について説明しています。
ItemAttributes は、全てのレスポンスグループに共通のレスポンス要素に示されている、全てのレスポンスグループが返す要素も返します。
次のレスポンスグループは、ItemAttributes の親レスポンスグループです。
なし
次のレスポンスグループは、ItemAttributes の子レスポンスグループです。
なし
http://ecs.amazonaws.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=[AWS アクセスキー ID]&
Operation=ItemSearch&
Condition=All&
ResponseGroup=ItemAttributes&
SearchIndex=Blended&
Keywords=GodSmack&
Merchant=All&
Version=2008-08-19次のレスポンス例では、ItemAttributes によって返される要素が示されています。
<Item>
<ASIN>B000A2XB9U</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=B000A2XB9U%2526tag=ws%2526lcode=xm2%2526cID=2025%2526ccmID=165953%2526location=/o/ASIN/B000A2XB9U%25253FSubscriptionId=1V9M7E1ZATWETZDS6W82</DetailPageURL>
<ItemAttributes>
<AudienceRating>NR (Not Rated)</AudienceRating>
<Director>Lawrence Jordan (II)</Director>
<Director>Daniel E. Catullo</Director>
<EAN>0014381273229</EAN>
<Format>Color</Format>
<Format>Compilation</Format>
<Format>NTSC</Format>
<Languages>
<Language>
<Name>English</Name>
<Type>Original Language</Type>
</Language>
</Languages>
<ListPrice>
<Amount>1999</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$19.99</FormattedPrice>
</ListPrice>
<NumberOfItems>1</NumberOfItems>
<ProductGroup>DVD</ProductGroup>
<ReleaseDate>2005-09-06</ReleaseDate>
<RunningTime Units="minutes">131</RunningTime>
<Studio>Image Entertainment</Studio>
<TheatricalReleaseDate>2005-06-25</TheatricalReleaseDate>
<Title>Rockin' the Corps</Title>
<UPC>014381273229</UPC>
</ItemAttributes>
</Item>