Skip to main content
Version: 3.x

UserAvatarUpdate

Create a user avatar. Only for staff members. This mutation must be sent as a multipart request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec

Requires AUTHENTICATED_STAFF_USERpermission.
type UserAvatarUpdate {
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Fields

UserAvatarUpdate.user ● User object

An updated user instance.

UserAvatarUpdate.accountErrors ● [AccountError!]! deprecated non-null object

DEPRECATED

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

UserAvatarUpdate.errors ● [AccountError!]! non-null object

Returned by

userAvatarUpdate mutation


Was this page helpful?