Vai al contenuto principale
Mutation

setContactAvatar

Deprecato

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.

Argomenti

Restituisce

Contact!

Esempio

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