This practice, which is known as price discrimination, is illegal under the Robinsons-Patman Act.
This act stipulates that if you're going to sell your goods to various customers, the prices have to be the same regardless of whom you are selling your products to.