Skip to main content
Say you review a dog food on your site and want to list the shops that sell it, cheapest first, each linking through your own tracking link.
1

Look up the product by its barcode

Use the GTIN (EAN/UPC) printed on the package. Shorter codes work too; they are zero-padded to 14 digits.
A 404 means no shop your channel is approved for sells it: hide the box.
2

Sort the offers by price

Offers come in no particular order. Keep the ones in stock and sort by price:
3

Render the links

Render each row with link as the href. A click goes through your network account, so the commission is yours.
Call the API from your server, not the browser, so the key stays secret. Responses can be cached for five minutes.