I'm entertaining the idea of adding a new custom license field to capture the original order number for which a license key was generated. Once added, that field would be populated on all new license keys automatically. However, I'm trying to figure out what options are available for updating existing license keys for this information.
I already use the REST API for a few things including updating another custom license field with the new expiration date when a renewal has been processed successfully. However, that API, limelm.pkey.setDetails, only seems to support a single license key, and I'll want to update all of my existing active license keys, i.e., not revoked or expired.
I suppose I could just do this one at a time over a period of time until they're all processed, or perhaps even apply the updates in a multi-threaded fashion assuming the API itself isn't going to decide that I'm some malicious denial-of-service attack or something, but before I go that route I thought I'd see if there's some other/better way to do a bulk update like this.
Thoughts/suggestions?