Skip to main content
Version: 3.x

StaffUpdate

Updates an existing staff user. Apps are not allowed to perform this mutation.

Requires MANAGE_STAFFpermission.

Triggers the following webhook events:

  • STAFF_UPDATED (async): A staff account was updated.
type StaffUpdate {
staffErrors: [StaffError!]! @deprecated
errors: [StaffError!]!
user: User
}

Fields

StaffUpdate.staffErrors ● [StaffError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

StaffUpdate.errors ● [StaffError!]! non-null object

StaffUpdate.user ● User object

Returned by

staffUpdate mutation


Was this page helpful?