Authorizations
Bearer authentication header of the form Bearer <Token>, where <Token> is your access token.
Headers
The organization identifier
The merchant account number
Preferred language for the response
Body
The unique identifier of the user to update
"user-id-123"
The unique identifier of the merchant account
35253486
The updated first name of the user
"John"
The updated last name of the user
"Phiri"
The updated email address of the user (only updated if email is not confirmed)
"john.phiri@example.com"
The updated phone number of the user
"0881234567"
The unique identifier of the role to assign
"MERC_ADMIN"
The email address of the user performing the update
"admin@example.com"
Response
Success - Merchant user updated successfully
Success message confirming the update
"User account has been updated successfully"