Create or update a supplier user.
PUT
/suppliers/{supplierID}/users/{userID}
200Description
If an object with the same ID already exists, it will be overwritten.
Roles
At least one of the roles below is required to access this endpoint.
FullAccessSupplierUserAdmin
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
supplierID | Required | string | ID of the supplier. | --- |
userID | Required | string | ID of the user. | --- |
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Username | Required | string | --- | 100 characters | --- | |
Password | string | password | --- | --- | ||
FirstName | Required | string | --- | 100 characters | --- | |
LastName | Required | string | --- | 100 characters | --- | |
Required | string | --- | 200 characters | --- | ||
Phone | string | --- | 100 characters | --- | ||
TermsAccepted | string | date-time | --- | --- | ||
Active | Required | boolean | --- | --- | --- | |
xp | object | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
CompanyID | Read Only | string | --- | --- | --- | |
Username | string | --- | 100 characters | --- | ||
Password | string | password | --- | --- | ||
FirstName | string | --- | 100 characters | --- | ||
LastName | string | --- | 100 characters | --- | ||
string | --- | 200 characters | --- | |||
Phone | string | --- | 100 characters | --- | ||
TermsAccepted | string | date-time | --- | --- | ||
Active | boolean | --- | --- | --- | ||
xp | object | --- | --- | --- | ||
AvailableRoles | Read Only | array | --- | --- | --- | |
Locale | Read Only | object | --- | --- | --- | |
DateCreated | Read Only | string | date-time | --- | --- | |
PasswordLastSetDate | Read Only | string | date-time | --- | --- |