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:
To create a link to a product by UPC, replace UPC in the URL with the UPC of the product:
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.