Skip to main content
Version: 3.x

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

Given name.

StaffCreateInput.lastName ● String scalar

Family name.

StaffCreateInput.email ● String scalar

The unique email address of the user.

StaffCreateInput.isActive ● Boolean scalar

User account is active.

StaffCreateInput.note ● String scalar

A note about the user.

StaffCreateInput.metadata ● [MetadataInput!] list input

Fields required to update the user metadata.

Added in Saleor 3.14

StaffCreateInput.privateMetadata ● [MetadataInput!] list input

Fields required to update the user private metadata.

Added in Saleor 3.14

StaffCreateInput.addGroups ● [ID!] list scalar

List of permission group IDs to which user should be assigned.

StaffCreateInput.redirectUrl ● String scalar

URL of a view where users should be redirected to set the password. URL in RFC 1808 format.

Member of

staffCreate mutation


Was this page helpful?