Each council shall have the power to enact ordinances providing for the licensing and regulation of any person who peddles merchandise.