Skip to main content

createContact

This mutation is for creating a new external contact in Semble.

createContact(
title: String
first: String
last: String
parentContact: ID
isSelfPayContract: Boolean
company: String
email: String
address: String
city: String
postcode: String
country: String
phoneType: String
phoneNumber: String
isPayor: Boolean
invoiceRecipient: String
billingFrequency: ContactBillingFrequency
billingDetails: String
paymentReference: String
): NewContactPayload

Arguments​

createContact.title ● String scalar​

createContact.first ● String scalar​

createContact.last ● String scalar​

createContact.parentContact ● ID scalar​

Optional parent contact id used to group contract-level contacts under a root contact. Writable only when the practice has the BILLING_RULES feature flag enabled.

createContact.isSelfPayContract ● Boolean scalar​

Whether this contact is a self pay contract. Null when the value has not been set.

createContact.company ● String scalar​

createContact.email ● String scalar​

createContact.address ● String scalar​

createContact.city ● String scalar​

createContact.postcode ● String scalar​

createContact.country ● String scalar​

createContact.phoneType ● String scalar​

createContact.phoneNumber ● String scalar​

createContact.isPayor ● Boolean scalar​

Whether this contact is the payor; not applicable to practices in France.

createContact.invoiceRecipient ● String scalar​

The invoice recipient; not applicable to practices in France.

createContact.billingFrequency ● ContactBillingFrequency enum​

The billing frequency; not applicable to practices in France.

createContact.billingDetails ● String scalar​

createContact.paymentReference ● String scalar​

Type​

NewContactPayload object​

The type representing the contact to create.