I’m exploring how to extend the user model via plugins, and I’m specifically trying to figure out how to store persistent custom data on a user’s account.
I want to add a new field to each user — for example, something like:
internal_system_id: “ABC123XYZ”
This value needs to be:
Persisted in the database
Accessible later in other plugin actions
Usable for internal queries or third-party integrations
Attached to a user in a stable, non-volatile way
From my understanding, there is a meta field in the system but I am not sure how I can customize that.
Once this is configured, you can manually setinternal_system_id for users from the admin UI if needed.
If you want to do this programmatically from outside (e.g., from a backend service), you can use the Admin APIs, for example via hollaex-node-lib with admin keys and updateExchangeUser.