Solutions

One code, changed after it is printed

Everything below is the same idea applied to a different surface: put a code on the thing, decide later where it goes, and see what happened. The destination is editable for the life of the code, which is the part a printed QR code normally cannot do.