Skip to main content
Mutation

setContactAvatar

Deprecated

Sets 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

Returns

Contact!

Example

mutation SetContactAvatar($input: SetContactAvatarInput!) {
  setContactAvatar(input: $input) {
    company
    createdAt
    deletedAt
    email
    firstName
    foodPreferences
    id
    lastName
  }
}