createContact
Adds a contact to a space's address book and returns it. A name, first name or last name is required. Requires membership of the space.
Arguments
inputContactInput!The contact's details.
spaceIdID!ID of the space.
Returns
Contact!Example
mutation CreateContact($input: ContactInput!, $spaceId: ID!) {
createContact(input: $input, spaceId: $spaceId) {
company
createdAt
deletedAt
email
firstName
foodPreferences
id
lastName
}
}