In your state, is it 1) illegal for them to scan you ID or 2) not legally required for them to scan your ID?
If #1, then this is lawsuit opportunity. If #2, then you might be stuck having to find a friendlier store.
In any case, since black people are too stupid to get ID (according to our Leftist superiors), requesting ID is inherently racist. So you have additional grounds for lawsuit if you identify as black.
In my state it is I believe Illegal.
There is no case law, but the statute is pretty clear in my mind.
Regardless, In any State you should refuse this privacy invasion and put a piece of tape over your barcode right now.
Unless you are ok with Identity Theft, in which case you should just post all your info here
Would anyone post that info here? I really hope not.
Nor should you allow any corp to demand it for any illegitimate reason.
Please Resist Identity Theft