createUser

Creates a User

Input fields

input (CreateUserInput)

Return fields

id (ID!)

ID of the object

createdOn (DateTime)

Time of creation

updatedOn (DateTime)

Time of last update

ref (String!)

External reference of the object. Recommended to be unique.

username (String!)

Unique name for the user used for identification and logging purposes.

title (String)

The user's title. For example Mr., Miss, Dr., Ms. etc

firstName (String)

User's first name

lastName (String)

User's last name

primaryEmail (String)

User's primary email

primaryPhone (String)

User's primary phone number

type (String!)

Type of the user

status (String)

Status

attributes ([Attribute])

A list of attributes associated with this object. This can be used to extend the existing data structure with additional data for use in orchestration rules, etc.

department (String)

Department

country (String)

Country

timezone (String)

Timezone

language (SettingValueType)

User language (leave null to allow users to self-select their language preference)

promotionOptIn (Boolean)

Determines if the user has opted to receive promotions

primaryRetailer (Retailer)

User's retailer context

primaryLocation (Location)

User's location context

roles ([UserRole])

Roles assigned to the user

apps ([App])

Active apps for the Fluent Account to which the User belongs