Sample REST Use Case
The following request illustrates the XML response elements returned by OfferListings.
http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=
[AWS Access Key ID]
&
AssociateTag=
[Associate ID]
&
Operation=ItemSearch&
Keywords=sports&
ResponseGroup=OfferListings&
Version=2011-08-01
&Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]
Sample Response Snippet
The following response snippet shows the elements returned by OfferListings.
<Item>
<ASIN>B000AYGDIO</ASIN>
<Offers>
<TotalOffers>18</TotalOffers>
<TotalOfferPages>2</TotalOfferPages>
<Offer>
<OfferAttributes>
<Condition>New</Condition>
</OfferAttributes>
<OfferListing>
<OfferListingId>
pBmLD7%2F4J7zqIMjOLpQI5pkO774zf%2BsvrzbG4JR92xLmC%
</OfferListingId>
<Price>
<Amount>24700</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$247.00</FormattedPrice>
</Price>
<Availability>Usually ships in 1-2 business days</Availability>
<IsEligibleForSuperSaverShipping>0</IsEligibleForSuperSaverShipping>
</OfferListing>
</Offer>
<!-- 9 ADDITIONAL OFFERS -->
</Offers>
</Item>
Offers Response Group
The Offers response group is a parent response group that returns the contents of the
OfferSummary
Response Group (p. 260)
response group plus, by default, offer listing information. The Offers response
group can take
Condition
and
MerchantId
as an optional input parameter. By default, the offer for
Buy Box winner is returned, which is an item listed in the box on an item's detail page that enables you
to add an item to a shopping cart.
API Version 2011-08-01
256
Product Advertising API Developer Guide
Offers Response Group