Create a new user

POST
/buyers/{buyerID}/users

Description

If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.

Roles

At least one of the roles below is required to access this endpoint

FullAccess
BuyerUserAdmin

Parameters

NameTypeDescriptionDefault (ordered by priority)
buyerIDstringID of the buyer.---

Request Body

PropertyTypeFormatMax Length
IDstring------
Username
Required
string---100 characters
Passwordstringpassword---
FirstName
Required
string---100 characters
LastName
Required
string---100 characters
Email
Required
string---200 characters
Phonestring---100 characters
TermsAcceptedstringdate-time---
Active
Required
boolean------
xpobject------

Response Body

PropertyTypeFormatMax Length
IDstring------
Usernamestring---100 characters
Passwordstringpassword---
FirstNamestring---100 characters
LastNamestring---100 characters
Emailstring---200 characters
Phonestring---100 characters
TermsAcceptedstringdate-time---
Activeboolean------
xpobject------
AvailableRoles
Read Only
array------
DateCreated
Read Only
stringdate-time---
PasswordLastSetDate
Read Only
stringpassword---