updateContact
Updates a contact and returns it. Omitted fields keep their value. Requires membership of the space.
Argomenti
idID!ID of the contact.
inputContactInput!The fields to change.
spaceIdID!ID of the space.
Restituisce
Contact!Esempio
mutation UpdateContact($id: ID!, $input: ContactInput!, $spaceId: ID!) {
updateContact(id: $id, input: $input, spaceId: $spaceId) {
company
createdAt
deletedAt
email
firstName
foodPreferences
id
lastName
}
}