staffUpdate Mutation
Updates an existing staff user. Apps are not allowed to perform this mutation.
Triggers the following webhook events:
- STAFF_UPDATED (async): A staff account was updated.
Applied directives
@webhookEventsInfo(asyncEvents: [STAFF_UPDATED], syncEvents: [])
staffUpdate(id: ID!, input: StaffUpdateInput!): StaffUpdate
Returns
Show return type
type StaffUpdate {
staffErrors: [StaffError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [StaffError!]!
user: User
}Arguments
id
id · ID!
ID of a staff user to update.
input
input · StaffUpdateInput!
Fields required to update a staff user.
Schema: Saleor 3.23.43. Download SDL.