CreateDistributorUserInput
The data required to create a user related to a distributor
input CreateDistributorUserInput {
firstName: String!
lastName: String!
email: String!
distributorId: String!
role: UserRole
}
Fields
CreateDistributorUserInput.firstName
● String!
non-null scalar
The first name of the user
CreateDistributorUserInput.lastName
● String!
non-null scalar
The last name of the user
CreateDistributorUserInput.email
● String!
non-null scalar
The email address of the user
CreateDistributorUserInput.distributorId
● String!
non-null scalar
The ID of the distributor that will be related to the user
CreateDistributorUserInput.role
● UserRole
enum
The role of the user
Member Of
addDistributorUser
mutation