StaffCreateInput
Fields required to create a staff user.
input StaffCreateInput {
firstName: String
lastName: String
email: String
isActive: Boolean
note: String
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
addGroups: [ID!]
redirectUrl: String
}
Fields
StaffCreateInput.firstName
● String
scalar miscellaneous
Given name.
StaffCreateInput.lastName
● String
scalar miscellaneous
Family name.
StaffCreateInput.email
● String
scalar miscellaneous
The unique email address of the user.
StaffCreateInput.isActive
● Boolean
scalar miscellaneous
User account is active.
StaffCreateInput.note
● String
scalar miscellaneous
A note about the user.
StaffCreateInput.metadata
● [MetadataInput!]
list input miscellaneous
Fields required to update the user metadata.
Added in Saleor 3.14
StaffCreateInput.privateMetadata
● [MetadataInput!]
list input miscellaneous
Fields required to update the user private metadata.
Added in Saleor 3.14
StaffCreateInput.addGroups
● [ID!]
list scalar miscellaneous
List of permission group IDs to which user should be assigned.
StaffCreateInput.redirectUrl
● String
scalar miscellaneous
URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
Member Of
staffCreate
mutation