Spotify Codes are scannable QR codes that are used to quickly share or access Spotify content. They can be created for artist profiles, company profiles, playlists, albums and songs. If there is a URI, you can generate the Spotify Code.
The URI code is used to embed and search within the application. To get it, right-click on some Spotify content and select Share> Copy Song Link. You will get a link similar to this one: "
https://open.spotify.com/track/5yGhGAj3NPkYQpmUycNanw?si=5b52d919f8064079". The URI is the code between "track/" and "?". In this case, it is: "5yGhGAj3NPkYQpmUycNanw".
Here are some good practices with Spotify Code:
Right now, Spotify Codes have to be generated from this page: Spotify Codes.
You can find more information about it in Spotify Codes FAQ.