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.

How can I link to a product at Amazon.com by UPC?

You can use the "Link to Search Results" tool in Associates Central under "Build Links" / "Link to Any Page...."

Enter UPC in the "Keywords" field and any text in the "Name Your Link" field. Click "Get HTML."

Copy the URL from the resulting HTML. It will be something like:

http://www.amazon.com/gp/search?ie=UTF8&keywords=UPC&tag=YOURTAG&index=blended&linkCode=ur2&camp=1789&creative=9325

To create a link to a product by UPC, replace UPC in the URL with the UPC of the product:

http://www.amazon.com/gp/search?ie=UTF8&keywords=086892722831&tag=YOURTAG&index=blended&linkCode=ur2&camp=1789&creative=9325

Using Amazon's web services, you can write a program to search for products by UPC and get information about the product, including a link to the product's page at Amazon. The example code at PHP A2S Demo 1 can be modified to perform a lookup by ASIN. Change the IdType in $url to UPC and specify a UPC code instead of an ASIN in $ASIN.


Copyright © 2019 by Roger Smith