Zum Hauptinhalt springen
Mutation

setContactAvatar

Veraltet

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.

Argumente

Rückgabe

Contact!

Beispiel

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