Can anyone recommend a plugin that will generate an exlusive number for re-order of a customized product

We have a product that will be initially ordered by a distributor. It is customized from a submitted photo. Subsequently, we’d like the end purchaser to be able to order additional units using a code so it is easily identifiable.