Google "Amazon Affiliate" or Amazon referral" for an idea of how it is done.
Here is a link to Brownell's program: https://www.brownells.com/aspx/general/Affiliates.aspx