Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

staffCreate Mutation

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

Requires one of the following permissions:MANAGE_STAFF

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.

Applied directives

@webhookEventsInfo(asyncEvents: [STAFF_CREATED, NOTIFY_USER, STAFF_SET_PASSWORD_REQUESTED], syncEvents: [])
staffCreate(input: StaffCreateInput!): StaffCreate

Returns

StaffCreate

Show return type
type StaffCreate {
  staffErrors: [StaffError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [StaffError!]!
  user: User
}

Arguments

input

input · StaffCreateInput!

Fields required to create a staff user.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?