Sure, the big boxes purchase the bulk of their merchandise direct from the manufacturers, but their efficiencies are built around not warehousing all the oddball things that customers want.
These licenses, which vary by location, allow you to purchasemerchandise wholesale free of sales tax--with the understanding that you will collect sales tax when you sell the goods (and give it back to the government).