The U.S. Supreme Court stayed out of the multibillion-dollar fight over Internet sales taxes, leaving intact a New York law that forces Amazon.com Inc. to collect money from customers in that state.

The justices Monday rejected appeals by Amazon and another Internet retailer, Overstock.com Inc., which said New York is violating the Constitution by demanding tax collection from companies that don’t have facilities in the state. New York’s top court upheld the state law.