CreateUserInput

Creates a new User

Input Fields

ref (String!)

External reference of the object. Recommended to be unique.
Max character limit: 100.

username (String!)

Unique name for the user used for identification and logging purposes.
Max character limit: 250.

password (String!)

Password. # Note

Please note that password once created can not be retrieved via the API at the moment. We are working on a security model that will enable password viewing to authenticated customers but until then, we request you to remember the password you created the User with.
Max character limit: 128.

title (String)

The user's title. For example Mr., Miss, Dr., Ms. etc
Max character limit: 50.

firstName (String)

User's first name.
Max character limit: 50.

lastName (String)

User's last name.
Max character limit: 50.

primaryEmail (String!)

User's primary email.
Max character limit: 250.

primaryPhone (String)

User's primary phone number.
Max character limit: 20.

type (String!)

Type of the user. This type is currently supports one of the following three values: ADMIN, RETAILER, LOCATION

apiKey (String)

API Key. To be used with the Fluent Widget.
Max character limit: 128.

attributes ([AttributeInput])

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.
Max character limit: 100.

timezone (String!)

Timezone.
Max character limit: 32.

language (SettingValueTypeInput)

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 (RetailerId)

User's retailer context

primaryLocation (LocationId)

User's location context

roles ([UserRoleInput])

A list of roles along with their contexts which are to be assigned to the user.