Merchandising companies (companies buy and sell merchandise rather than perform services as their primary source of revenue) that purchase and sell directly to consumers are called retailers.
Merchandising companies that sell to retailers are known as wholesalers.