How to make dictionary from airtable values and rows id

I want to make dictionary from airtable that will be paired values and rows id

outcome: when I get the value with qr scanner I want the row id to change it to scanned