Create a supplier contact's portal login from the vendor record.
Requires commercial and admin.user.create. Names the sites they may see, and refuses without one. Grants the role named, which must be a role for people outside the company; with none named, the only such role there is, and a refusal saying so where there are several or none. Refuses a contact who already has a login: changing an existing account is Settings → Access.
Headers
Preference
params=single-object Body
Create a supplier contact's portal login from the vendor record.
Requires commercial and admin.user.create. Names the sites they may see, and refuses without one. Grants the role named, which must be a role for people outside the company; with none named, the only such role there is, and a refusal saying so where there are several or none. Refuses a contact who already has a login: changing an existing account is Settings → Access.
Response
OK

