VariationImages Response Group

Description

The VariationImages response group displays different variations of the same item in four sizes: swatch, small, medium, and large, where the swatch image is smaller than the small image. 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 sixteen images: four image sizes of each of the four colors.

The images returned are associated with the merchant selling the item. For that reason, you must specify the merchant ID in the request when you use the VariationImages response group. MerchantId, however, defaults to "Amazon." So, if the item is being sold by Amazon, specifying a MerchantId is not required. If you do not specify a MerchantId and a merchant other than Amazon is selling the item, ECS will not return images.

Parent ASINs do not always have images associated with them; their children, however, should.

REST Sample Response Snippet

Sample Response Snippet (REST)

      
<ImageSets>
  <ImageSet Category="primary">

  <SmallImage>
    <URL>
    http://images.amazon.com/images/P/B99999999A.01._SCTHUMBZZZ_.jpg
    </URL>
    <Height Units="pixels">60</Height>
    <Width Units="pixels">60</Width>
  </SmallImage>

  <MediumImage>
    <URL>
    http://images.amazon.com/images/P/B99999999A.01._SCMZZZZZZZ_.jpg
    </URL>
    <Height Units="pixels">140</Height>
    <Width Units="pixels">140</Width>
  </MediumImage>

  <LargeImage>
    <URL>
    http://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>
    http://images.amazon.com/images/P/B99999999A.01.PT01._SCTHUMBZZZ_.jpg
    </URL>
    <Height Units="pixels">48</Height>
    <Width Units="pixels">60</Width>
  </SmallImage>

  <MediumImage>
    <URL>
    http://images.amazon.com/images/P/B99999999A.01.PT01._SCMZZZZZZZ_.jpg
    </URL>
    <Height Units="pixels">120</Height>
    <Width Units="pixels">150</Width>
  </MediumImage>

  <LargeImage>
    <URL>
    http://images.amazon.com/images/P/B99999999A.01.PT01._SCLZZZZZZZ_.jpg
    </URL>
    <Height Units="pixels">400</Height>
    <Width Units="pixels">500</Width>
  </LargeImage>

</ImageSet>
    

The Request that Generated the Response (REST)

    http://webservices.amazon.com/onca/xml?Service=AWSECommerceService
		&AWSAccessKeyId=[Your Access Key ID Here]
		&AssociateTag=[Your Associate ID Here]
		&Operation=ItemLookup
		&ItemId=0239409223
		&ResponseGroup=VariationImages