Wouldn't Apple keep a record of your transactions? They even send a push notif with the receipt so they are aware of the location and store.
I'm not sure what the server side component is - but I don't believe they would have itemized data. So Apple/Amex know that you go to Whole Foods, but don't know what you're buying. Obviously, credit card companies have always had that data anyways.