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

VariationImages

The VariationImages response group displays different image variations of the same item in four sizes: small, medium, large, and swatch. Swatch images are the smallest size. VariationImages is used when there are variations of an item for sale. For example, a shirt for sale might come in four colors. If VariationImages is used as the response group, the shirt will be displayed in 16 images: four image sizes of each of the four colors.

Parent ASINs do not always have images associated with them. Child ASINs should have images.

Relevant Operations

Operations that can use this response group include:

Response Elements

The following table describes the elements returned by VariationImages. The elements on the left side of a slash mark are the parents of the elements on the right side of the slash mark.

VariationImages 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 VariationImages.

  • None

Child Response Group

The following response groups are child response groups of VariationImages.

  • None

Sample REST Use Case

The following request uses the VariationImages response group.

Copy
http://webservices.amazon.com/onca/xml? Service=AWSECommerceService& AWSAccessKeyId=[AWS Access Key ID]& AssociateTag=[Associate ID]& Operation=ItemLookup& ItemId=0239409223& ResponseGroup=VariationImages &Timestamp=[YYYY-MM-DDThh:mm:ssZ] &Signature=[Request Signature]

Sample Response Snippet

The following response snippet shows the elements returned by VariationImages.

Copy
<ImageSets> <ImageSet Category="primary"> <SmallImage> <URL> https://images.amazon.com/images/P/B99999999A.01._SCTHUMBZZZ_.jpg </URL> <Height Units="pixels">60</Height> <Width Units="pixels">60</Width> </SmallImage> <MediumImage> <URL> https://images.amazon.com/images/P/B99999999A.01._SCMZZZZZZZ_.jpg </URL> <Height Units="pixels">140</Height> <Width Units="pixels">140</Width> </MediumImage> <LargeImage> <URL> https://images.amazon.com/images/P/B99999999A.01._SCLZZZZZZZ_.jpg </URL> <Height Units="pixels">500</Height> <Width Units="pixels">500</Width> </LargeImage> </ImageSet> <ImageSet Category="variant"> <SmallImage> <URL> https://images.amazon.com/images/P/B99999999A.01.PT01._SCTHUMBZZZ_.jpg </URL> <Height Units="pixels">48</Height> <Width Units="pixels">60</Width> </SmallImage> <MediumImage> <URL> https://images.amazon.com/images/P/B99999999A.01.PT01._SCMZZZZZZZ_.jpg </URL> <Height Units="pixels">120</Height> <Width Units="pixels">150</Width> </MediumImage> <LargeImage> <URL> https://images.amazon.com/images/P/B99999999A.01.PT01._SCLZZZZZZZ_.jpg </URL> <Height Units="pixels">400</Height> <Width Units="pixels">500</Width> </LargeImage> </ImageSet>