NEW YORK (CBSNewYork/AP) — Whole Foods says the credit and debit card information of customers who bought meals or drinks at its in-store restaurants or bars were exposed to hackers.

The grocer, which was recently acquired by Seattle-based online retailer Amazon.com Inc., says the data breach did not affect its main checkout registers or any Amazon.com shoppers.

READ MORE: Federal Arrest Warrant Issued For Gabby Petito's Missing Fiancé Brian Laundrie

Whole Foods did not say which of its 470 stores were affected, and a spokeswoman declined to answer any questions. The Whole Foods stores that do have in-store restaurants and bars tend to be in or near cities.

READ MORE: 'I Can't Take This Anymore': Heavy Rain In Tri-State Area Renews Flooding Concerns For Many Still Dealing With Damage From Ida

Whole Foods says it is investigating the hack.

MORE NEWS: 1 Killed, 13 Injured In Shooting At Kroger In Collierville, Tennessee

(© Copyright 2017 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)