Skip to main content
Mutation

restoreContact

Restores a contact from the trash and returns it. Requires membership of the space.

Arguments

  • idID!

    ID of the contact.

  • spaceIdID!

    ID of the space.

Returns

Contact!

Example

mutation RestoreContact($id: ID!, $spaceId: ID!) {
  restoreContact(id: $id, spaceId: $spaceId) {
    company
    createdAt
    deletedAt
    email
    firstName
    foodPreferences
    id
    lastName
  }
}