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://ecs.amazonaws.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&
MerchantId=All
The preceding example shows six ItemId
s in the request,
which means ItemLookup
will be executed six times, one for
each ItemId
. You can specify up to ten
ItemId
s.
Tip | |
---|---|
Be careful not to introduce spaces before or after the commas in the
comma-separated list of |