Using The Itemsearch Availability Parameter - Amazon Product Advertising API Developer's Manual

Api version 2011-08-01
Table of Contents

Advertisement

Product Advertising API Developer Guide
If an item is for sale, it has an offer listing ID. This ID is returned by the Offers and OfferFull response
groups, as shown in the following response snippet.
<OfferListing>
<OfferListingId>[Offer Listing
<Price>
<FormattedPrice>Too low to display</FormattedPrice>
</Price>
<Availability>Usually ships in 24 hours</Availability>
<IsEligibleForSuperSaverShipping>0
</IsEligibleForSuperSaverShipping>
</OfferListing>
Offers contain availability and shipping information.
Using the OfferSummary Response Group
The OfferSummary response group returns, in part, the total number of items available in each condition,
for example:
<Item>
<ASIN>B000BWFJQ2</ASIN>
<OfferSummary>
<LowestNewPrice>
<Amount>295</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$2.95</FormattedPrice>
</LowestNewPrice>
<TotalNew>1</TotalNew> <TotalUsed>0</TotalUsed> <TotalCollectible>0</TotalCol
lectible> <TotalRefurbished>0</TotalRefurbished>
</OfferSummary>
This response shows that only one of the specified items, B000BWFJQ2, is available and it is only available
in "New" condition.

Using the ItemSearch Availability Parameter

The ItemSearch Availability parameter enables you to search only for items that are available. The only
valid value for Availability is "Available," as shown in the next example.
http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=[AWS Access Key
Operation=ItemSearch&
Condition=All&
Availability=Available&
SearchIndex=Apparel&
Keywords=Shirt
&Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]
Items can become unavailable quickly. Even though this parameter filters out unavailable items, checking
that an item has an OfferListingId is still recommended.
Determining Availability
ID]</OfferListingId>
ID]&
API Version 2011-08-01
133

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Product Advertising API and is the answer not in the manual?

Table of Contents