Product Advertising API
Developer Guide (API Version 2011-08-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

Performing Multiple ItemLookups in One Request

The other way to execute multiple ItemLookup requests in one request is to use a comma-separated list of ItemIds, for example:

http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=[AWS Access Key ID]&
Operation=ItemLookup&
ItemId=B00008OE6I,B35987036I,B0002546I,B25468OE6I,B09788OE6I,B00453OE6I&
IdType=ASIN&
ResponseGroup=OfferFull&
Condition=All&
Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]

The preceding example shows six ItemIds in the request, which means ItemLookup will be executed six times, one for each ItemId. You can specify up to ten ItemIds.

Tip

Be careful not to introduce spaces before or after the commas in the comma-separated list of ItemIds.