To legally buy wholesale and sell retail, you need to register a company and obtain the licenses and permits that are relevant to your trade and location.