There are four types of e-commerce: 1. Business to business: Websites such as Shopify. 2. Business to consumer: Websites such as Amazon. 3. Consumer to consumer: Websites such as eBay. 4. Consumer to business: Websites such as Google AdSense.