Resources for Developers Using Amazon's Product Advertising API
· Home  
· Search  
· Browse Nodes  
· Data Feed?  
· FAQs  
· One-Second Rule  
· PHP Examples  
· Tips for Associates  
· Tools  
· Understanding A2S  

Create a custom Amazon Associate Store in minutes with
Associate-O-Matic.

Disappointed by Amazon.com and the Associates program?

Please consider
Shareasale

Shareasale manages affiliate programs for thousands of merchants. The site makes it easier to apply to programs and create links. And simple-to-use datafeeds are offered by most merchants.

ItemLookup Operation

A2S Query

http://ecs.amazonaws.com/onca/xml?
   Service=AWSECommerceService
   &AWSAccessKeyId=--
   &AssociateTag=browsenodes-20
   &Operation=ItemLookup
   &ItemId=B00004U2GH,B00004U2GI,B00005QVHD,B0013D8EQK
   &RelationshipType=DigitalMusicPrimaryArtist
   &ResponseGroup=RelatedItems
   &Version=2100-01-01

The above URL executes an A2S ItemLookup query. The ItemLookup operation returns information about products which match the specified parameters such as ItemId.

A2S Response

The following is the XML response returned by A2S for the above query.
<ItemLookupResponse>
 <OperationRequest>
  <HTTPHeaders>
   <Header Name="UserAgent" Value="Oblio/1.0
(+http://www.rogersmithsoftware.com/)" />
  </HTTPHeaders>
  <RequestId>cbe24980-8961-44f3-937b-4ba69b4e3d5b</Requ
estId>
  <Arguments>
   <Argument Name="AWSAccessKeyId" Value="--" />
   <Argument Name="AssociateTag" Value="browsenodes-20"
/>
   <Argument Name="Condition" Value="New" />
   <Argument Name="ItemId"
Value="B00004U2GH,B00004U2GI,B00005QVHD,B0013D8EQK" />
   <Argument Name="Operation" Value="ItemLookup" />
   <Argument Name="RelationshipType"
Value="DigitalMusicPrimaryArtist" />
   <Argument Name="ResponseGroup" Value="RelatedItems"
/>
   <Argument Name="Service" Value="AWSECommerceService"
/>
   <Argument Name="Timestamp"
Value="2018-02-24T01:46:27Z" />
   <Argument Name="Version" Value="2011-08-01" />
   <Argument Name="Signature" Value="--" />
  </Arguments>
  <RequestProcessingTime>0.0848296240000000</RequestPro
cessingTime>
 </OperationRequest>
 <Items>
  <Request>
   <IsValid>True</IsValid>
   <ItemLookupRequest>
    <Condition>New</Condition>
    <IdType>ASIN</IdType>
    <ItemId>B00004U2GH</ItemId>
    <ItemId>B00004U2GI</ItemId>
    <ItemId>B00005QVHD</ItemId>
    <ItemId>B0013D8EQK</ItemId>
    <ResponseGroup>RelatedItems</ResponseGrou
p>
    <VariationPage>All</VariationPage>
    <RelationshipType>DigitalMusicPrimaryArtist&
lt;/RelationshipType>
   </ItemLookupRequest>
  </Request>
  <Item>
   <ASIN>href="http://www.browsenodes.com/productnodes-B00004U2GH.html">B00004U2GHa></ASIN>
  </Item>
  <Item>
   <ASIN>href="http://www.browsenodes.com/productnodes-B00004U2GI.html">B00004U2GIa></ASIN>
  </Item>
  <Item>
   <ASIN>href="http://www.browsenodes.com/productnodes-B00005QVHD.html">B00005QVHDa></ASIN>
  </Item>
  <Item>
   <ASIN>href="http://www.browsenodes.com/productnodes-B0013D8EQK.html">B0013D8EQKa></ASIN>
   <RelatedItems>
    <Relationship>Children</Relationship>
    <RelationshipType>DigitalMusicPrimaryArtist&
lt;/RelationshipType>
    <RelatedItemCount>1</RelatedItemCount>
    <RelatedItemPageCount>1</RelatedItemPageC
ount>
    <RelatedItemPage>1</RelatedItemPage>
    <RelatedItem>
     <Item>
      <ASIN>href="http://www.browsenodes.com/productnodes-B000QJO1ZA.html">B000QJO1ZAa></ASIN>
     </Item>
    </RelatedItem>
   </RelatedItems>
  </Item>
 </Items>
</ItemLookupResponse>


Copyright © 2018 by Roger Smith