Returning Offers From Item Variations - Amazon Product Advertising API Developer's Manual

Api version 2011-08-01
Table of Contents

Advertisement

Product Advertising API Developer Guide
<OfferSummary>
<LowestNewPrice>
<Amount>0</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$0.00</FormattedPrice>
</LowestNewPrice>
<TotalNew>0</TotalNew> <TotalUsed>0</TotalUsed> <TotalCollectible>0</TotalCol
lectible> <TotalRefurbished>0</TotalRefurbished>
</OfferSummary>

Returning Offers From Item Variations

The Book, Music, Video, and DVD search indexes have very few parent items. The Apparel, Jewelry,
and SportingGoods search indexes have many parent items and variations.
If a parent item is returned in a response, it will not have an offer. Instead, you must find the offers
associated with the variations of the parent item. You do this by adding the Variations response group to
the request, as follows.
http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=1MEXAMPLEZBG2&
Operation=ItemSearch&
Keywords=Ralph%20Lauren&
SearchIndex=Apparel&
Sort=pricerank&
ResponseGroup=Offers,Variations&
Availability=Available&
Condition=All
&Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]
The Variations and Offers response groups returns the first ten variations of the parent item and their
offers, which is shown in the following response snippet.
<Variations>
<TotalVariations>6</TotalVariations>
<TotalVariationPages>1</TotalVariationPages>
<Item>
<ASIN>B000FG8I6W</ASIN>
<ItemAttributes>
<Binding>Apparel</Binding>
<Brand>Polo Ralph Lauren</Brand>
<ClothingSize>10 - 13</ClothingSize>
<Color>Beige Heather</Color>
<Department>mens</Department>
...
</ItemAttributes>
<Offers>
<Offer>
<Merchant>
<Name>Polo.com</Name>
</Merchant>
<OfferAttributes>
<Condition>New</Condition>
Returning Prices
API Version 2011-08-01
129

Advertisement

Table of Contents
loading

Table of Contents