Menu
Product Advertising API
Developer Guide (API Version 2013-08-01)

Variation Dimensions

Variations can differ from each other. Size and color are common ways for apparel variations to differ. The ways in which variations differ are called dimensions. Parent variations show that information with the following response elements:

  • VariationDimensions

  • VariationDimension

The values returned by these elements in the parent variation response specify the variation dimensions for the child variations, such in as the following example:

Copy
<VariationDimensions> <VariationDimension>ClothingSize</VariationDimension> <VariationDimension>Color</VariationDimension> </VariationDimensions>

The following example response from one of the associated child variations shows that the dimensions specified in the parent variation are used as variation attributes in the child variation.

Copy
<Item> ... <VariationAttributes> <VariationAttribute> <Name>Color</Name> <Value>Grey<Value> </VariationAttribute> <VariationAttribute> <Name>ClothingSize</Name> <Value>29W x 30L</Value> </VariationAttribute> </VariationAttributes> </Item>