StaffCreate Object
Creates a new staff user. Apps are not allowed to perform this mutation.
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: [])
type StaffCreate {
staffErrors: [StaffError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [StaffError!]!
user: User
}
Fields
staffErrors
staffErrors · [StaffError!]!
errors
errors · [StaffError!]!
user
user · User
Used by
Schema: Saleor 3.23.43. Download SDL.