The Variations response group is a parent response group that returns the contents of the VariationSummary and VariationMinimum response groups plus other variation details, such as item attributes, offers, and offer listings for each variation in the response.
Operations that can use this response group include:
The following table describes the elements returned by Variations. The elements on the left side of a slash mark are the parents of the elements on the right side of the slash mark.
| Response Element | Ancestry | Definition |
|---|---|---|
Amount
| VariationSummary/LowestSalePrice/Amount | The lowest sales price in terms of the lowest currency denomination, for example, pennies, of all variations. |
Amount
| VariationSummary/HighestPrice/Amount | The highest price in terms of the lowest currency denomination, for example, pennies, of all variations. |
Amount
| VariationSummary/LowestPrice/Amount | The lowest price in terms of the lowest currency denomination, for example, pennies, of all variations. |
Amount
| VariationSummary/HighestSalePrice/Amount | The highest sales price in terms of the lowest currency denomination, for example, pennies, of all variations. |
ASIN
| Variations/Variation/Item/ASIN | A number distributed by Amazon that uniquely identifies an item. In this case, each ASIN represents a child ASIN of a parent ASIN. |
CurrencyCode
|
VariationSummary/HighestPrice/CurrencyCode VariationSummary/LowestSalePrice/CurrencyCode VariationSummary/HighestSalePrice/CurrencyCode VariationSummary/LowestPrice/CurrencyCode | Abbreviation for the format to use when displaying the price in a particular locale. |
FormattedPrice
|
VariationSummary/HighestSalePrice/FormattedPrice VariationSummary/LowestSalePrice/FormattedPrice VariationSummary/LowestPrice/FormattedPrice VariationSummary/HighestPrice/FormattedPrice | The price formatted according to CurrencyCode for a specific locale. |
SingleMerchantId
| VariationSummary/SingleMerchantId | ID of a merchant that applices across all if the variations of an item. |
Variations also returns the elements that all response groups return, which is described in Elements Common to All Response Groups.
The following response groups are child response groups of Variations.
The folllowing request was used to illustrate the XML response elements returned by Variations.
http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService& AWSAccessKeyId=[Access Key ID]& Operation=ItemSearch& SearchIndex=Apparel& Keywords=Hooded%20Short%20Down%20Jacket& ResponseGroup=Variations
The following response snippet shows the elements returned by Variations.
<ItemSearchRequest> <Keywords>Hooded Short Down Jacket</Keywords> <ResponseGroup>Variations</ResponseGroup> <SearchIndex>Apparel</SearchIndex> </ItemSearchRequest> </Request> <Item> <ASIN>B000CCIIT6</ASIN> </Item> <Item> <ASIN>B000CCIITQ</ASIN> </Item> <Item> <ASIN>B000CCONPO</ASIN> </Item> <Item> <ASIN>B000CCMQ1W</ASIN> </Item> <Item> <ASIN>B000CDDRJ6</ASIN> </Item> <Item> <ASIN>B000CCIISC</ASIN> </Item> <Item> <ASIN>B000CCIIRI</ASIN> </Item> <Item> <ASIN>B000BVA9AE</ASIN> </Item> <Item> <ASIN>B000CCMQFS</ASIN> </Item> <Item> <ASIN>B000CDDRJG</ASIN> </Item> </Items>This response shows that the ASIN in the response has ten variations.