setContactAvatar
DeprecatedSets a contact's avatar to the image uploaded through mintContactAvatarUpload, and returns the contact. Requires membership of the space.
Not needed: an uploaded image is picked up on the next read. Fails when nothing was uploaded.
Arguments
inputSetContactAvatarInput!The uploaded avatar.
Returns
Contact!Example
mutation SetContactAvatar($input: SetContactAvatarInput!) {
setContactAvatar(input: $input) {
company
createdAt
deletedAt
email
firstName
foodPreferences
id
lastName
}
}