Product Advertising API
Developer Guide (API Version 2011-08-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

VariationMatrix Response Group

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.

Relevant Operations

Operations that can use this response group include:

Response Elements

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.

Parent Response Group

The following response groups are parent response groups of VariationMatrix.

  • None

Child Response Group

The following response groups are child response groups of VariationMatrix.

  • None

Sample REST Use Case

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-01

Sample Response Snippet

The 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>