Skip to main content
POST
Create a supplier contact's portal login from the vendor record.

Headers

Prefer
enum<string>

Preference

Available options:
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.

p_site_ids
string[]
required
p_vendor_contact_id
string<uuid>
required
p_role_id
string<uuid>

Response

200

OK