I have a "design" problem and I would like to know your feedback about it.
I need to extend the REST API to create a user:
adding an optional parameter.
When the parameter is passed, I need to add some logic to fill an auxiliary table.
I would like to avoid the <preference> approach because this seems an extension that should be possible to make with plugins..or at least I hope so.
Any hints please?
Solved with plugins and extension attributes.
If you're facing the same problem, module-newsletter is your friend.