Skip to main content
Mutation

updateContact

Updates a contact and returns it. Omitted fields keep their value. Requires membership of the space.

Arguments

  • idID!

    ID of the contact.

  • The fields to change.

  • spaceIdID!

    ID of the space.

Returns

Contact!

Example

mutation UpdateContact($id: ID!, $input: ContactInput!, $spaceId: ID!) {
  updateContact(id: $id, input: $input, spaceId: $spaceId) {
    company
    createdAt
    deletedAt
    email
    firstName
    foodPreferences
    id
    lastName
  }
}