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

NameTypeDescriptionPossible Values
buyerIDstringID of the buyer.---

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
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 LengthPossible Values
IDstring---100 characters---
Usernamestring---100 characters---

Passwordstringpassword------
FirstNamestring---100 characters---
LastNamestring---100 characters---
Emailstring---200 characters---
Phonestring---100 characters---
TermsAcceptedstringdate-time------
Activeboolean---------

xpobject---------
AvailableRoles
Read Only
array---------

Locale
Read Only
object---------

PropertyTypeFormatMax LengthPossible Values
ID
Read Only
string---100 characters---
OwnerID
Read Only
string---------

Currency
Read Only
string---100 characters---

Language
Read Only
string---100 characters---

DateCreated
Read Only
stringdate-time------
PasswordLastSetDate
Read Only
stringdate-time------