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

Variation Dimensions

Variations can differ from one another in a variety of ways. Size and color are common ways for apparel variations to differ. The ways in which variations differ are called dimensions. Parent variations relay that information with the following response elements:

  • VariationDimensions

  • VariationDimension

The values encapsulated by these elements in the parent variation response specify the variation dimensions for the child variations, for example:

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

The following response snippet 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>