| Did this page help you? Yes No Tell us about it... |
The VariationMatrix response group returns, for a given parent ASIN, the variation dimension name and value of each child ASIN. If a returned item does not have variations, the VariationMatrix response group will not return any data. For example, rings vary by ring size. RingSize, therefore, is the dimension related to this item. The VariationMatrix response group would only return, in this example, <RingSize> elements. The VariationMatrix response group returns nothing if the returned items do not have variations. For more information, see, Returning Variation Dimension Information Only.
The following table describes the elements returned by VariationMatrix.
VariationMatrix also returns the elements that all response groups return, as described in Elements Common to All Response Groups.
The following response groups are parent response groups of VariationMatrix.
None
The following response groups are child response groups of VariationMatrix.
None
The following request illustrates the XML response elements returned by VariationMatrix.
http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=[AWS Access Key ID]&
Operation=ItemLookup&
ItemId=B0008G23PQ&
Condition=All&
ResponseGroup=VariationMatrix&
Version=2011-08-01The following response snippet shows the elements returned by VariationMatrix.
<Item>
<ASIN>B0008G23PQ</ASIN>
<Variations>
<VariationDimensions>
<VariationDimension>ClothingSize</VariationDimension>
<VariationDimension>Color</VariationDimension>
</VariationDimensions>
<Item>
<ASIN>B0008EOA9U</ASIN>
<VariationAttributes>
<VariationAttribute>
<Name>Color</Name>
<Value>Grey<Value>
</VariationAttribute>
<VariationAttribute>
<Name>ClothingSize</Name>
<Value>29W x 30L</Value>
</VariationAttribute>
</VariationAttributes>
</Item>
<Item>
<ASIN>B0008EO9J6</ASIN>
<VariationAttributes>
<VariationAttribute>
<Name>Color</Name>
<Value>Navy<Value>
</VariationAttribute>
<VariationAttribute>
<Name>ClothingSize</Name>
<Value>29W x 30L</Value>
</VariationAttribute>
</VariationAttributes>
</Item>