UpsertUserInput Input Object
Fields
#
firstName
String !
Non-null
The first name of the user. (Only used if the email address does not already exist)
id
Use this field to provide either a Cloudshelf gid, or your own external gid. If the external gid already exists, the existing record will be updated. If the external gid does not exist, a new record will be created.
lastName
String !
Non-null
The last name of the user. (Only used if the email address does not already exist)
roleId
The role ID to assign to the user. Either roleId or roleName must be provided for new users. roleId takes precedence if both are provided.
roleName
The role name to assign to the user. Either roleId or roleName must be provided for new users. roleId takes precedence if both are provided.
Usages
#
References
#
- Argument input of field upsertUser from type Mutation
Previous
UpsertUserByEmailInput
Next
UpsertVariantsInput