Affiliate marketing is a type of online marketing where a business rewards an affiliate (a person or company) for promoting its products or services to potential customers. The affiliate earns a commission for every successful sale or action made by a customer that they referred to the business.