StaffUpdateInput
Fields required to update a staff user.
input StaffUpdateInput {
firstName: String
lastName: String
email: String
isActive: Boolean
note: String
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
addGroups: [ID!]
removeGroups: [ID!]
}
Fields
StaffUpdateInput.firstName ● String scalar
Given name.
StaffUpdateInput.lastName ● String scalar
Family name.
StaffUpdateInput.email ● String scalar
The unique email address of the user.
StaffUpdateInput.isActive ● Boolean scalar
User account is active.
StaffUpdateInput.note ● String scalar
A note about the user.
StaffUpdateInput.metadata ● [MetadataInput!] list input
Fields required to update the user metadata.
Added in Saleor 3.14
StaffUpdateInput.privateMetadata ● [MetadataInput!] list input
Fields required to update the user private metadata.
Added in Saleor 3.14
StaffUpdateInput.addGroups ● [ID!] list scalar
List of permission group IDs to which user should be assigned.
StaffUpdateInput.removeGroups ● [ID!] list scalar
List of permission group IDs from which user should be unassigned.
Member of
staffUpdate mutation
Was this page helpful?