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