Skip to main content

StaffCreate Object

Creates a new staff user. Apps are not allowed to perform this mutation.

Requires the MANAGE_STAFFpermission.

Triggers the following webhook events:

  • STAFF_CREATED (async): A new staff account was created.
  • NOTIFY_USER (async): A notification for setting the password.
  • STAFF_SET_PASSWORD_REQUESTED (async): Setting a new password for the staff account is requested.
type StaffCreate {
staffErrors: [StaffError!]! @deprecated
errors: [StaffError!]!
user: User
}

Fields​

errors ● [StaffError!]!​

user ● User​

Show deprecatedHide deprecated

staffErrors ● [StaffError!]!​

DEPRECATED

Use errors field instead.

Returned By​

staffCreate mutation