Wegmans Food Markets, a popular supermarket chain based in Rochester, won’t be able to claw back more than $227,000 in sales taxes after the New York Court of Appeals affirmed a judgment assessing that amount in tax liability.

The state’s highest court ruled Thursday that a series of audits paid for by Wegmans to monitor the retail prices of its competitors were subject to sales tax.