why I can't change employee role , no errors just not change
why I can't change employee role , no errors just not change
So it turns out that the role
field is a dynamic field that reads off the system level role of their merchant-configurable default from the roles
field.
To update an employee's role, you need to post to the roles
field.
{ "roles":[ {"id" : " put role uuid here "} ] }
It's a bug that the endpoint fails silently. If it can't set the field it should let the caller know it failed. I will file an internal issue on this.
3 People are following this question.