For similar applications Dual Function QR codes (or NFC tags) are commonly used.

Embedded in each dual function QR code is a unique, variable transaction ID appended to a URL. When scanned by a consumer using a standard barcode reading app, the URL points to a promotional Web page, ideally one optimized for viewing on a mobile device.

However, when the same code is scanned by a dedicated app, the QR code’s ID is captured, parsed, validated and stored as a formal scan record. Based on that ID, the dedicated app would respond back the the app-user with defining characteristics of the item/asset.

Using an anti-counterfeiting media that's copy-able (like barcodes) is not as secure as NFC tags but they are much less expensive and can work for certain goods.