Skip to main content

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 users

An updated user instance.

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

DEPRECATED

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

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

Returned By

userAvatarUpdate mutation