Skip to main content

staffCreate Mutation

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.
staffCreate(
input: StaffCreateInput!
): StaffCreate
Show return type

Arguments

input ● StaffCreateInput!

Fields required to create a staff user.

Type

StaffCreate

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.