CreateContactInput
Defines the input details for creating a contact. At least one of lastName
, organizationName
, or primaryEmail
must be provided.
input CreateContactInput {
billing: CreateContactBillingInput
biography: String
contactPhoneNumbers: ContactPhoneNumbersInput
customFields: [CustomFieldInput!]
department: String
eventId: ID!
externalIdentifier: String
firstName: String
inactiveSince: DateTime
jobTitle: String
lastName: String
marketingPrivacy: ContactMarketingPrivacyStatus
middleName: String
organizationName: String
preferredName: ContactPreferredNameInput
primaryAddress: AddressInput
primaryEmail: EmailAddress
socialMedia: ContactSocialMediaInput
title: String
userDefinedField1: String
userDefinedField2: String
userDefinedField3: String
userDefinedField4: String
website: String
}
Fields
CreateContactInput.billing
● CreateContactBillingInput
input
The billing details of the contact. Optional.
CreateContactInput.biography
● String
scalar
UTF-8 string value that represents the biography of the contact. Optional.
CreateContactInput.contactPhoneNumbers
● ContactPhoneNumbersInput
input
A list of phone numbers of the contact. Optional.
CreateContactInput.customFields
● [CustomFieldInput!]
list input
The custom fields to create for the contact. Optional.
CreateContactInput.department
● String
scalar
UTF-8 string value that represents the department of the contact. Optional.
CreateContactInput.eventId
● ID!
non-null scalar
The identifier of the event the contact is to be added to.
CreateContactInput.externalIdentifier
● String
scalar
UTF-8 string value that represents the external identifier of the contact. Optional.
CreateContactInput.firstName
● String
scalar
UTF-8 string value that represents the first name of the contact. Optional.
CreateContactInput.inactiveSince
● DateTime
scalar
The date and time since the contact has been inactive. Optional.
If omitted or set to null
, the contact will be created as active.
CreateContactInput.jobTitle
● String
scalar
UTF-8 string value that represents the job title of the contact. Optional.
CreateContactInput.lastName
● String
scalar
UTF-8 string value that represents the last name of the contact. Optional, unless neither primaryEmail
or organizationName
are specified.
CreateContactInput.marketingPrivacy
● ContactMarketingPrivacyStatus
enum
Represents the preference of the contact with regard to marketing material. Optional.
CreateContactInput.middleName
● String
scalar
UTF-8 string value that represents the middle name of the contact. Optional.
CreateContactInput.organizationName
● String
scalar
UTF-8 string value that represents the organization name of the contact. Optional, unless neither lastName
or primaryEmail
are specified.
CreateContactInput.preferredName
● ContactPreferredNameInput
input
The contact's preferred name details. Optional.
CreateContactInput.primaryAddress
● AddressInput
input
The primary address for the contact. Optional.
CreateContactInput.primaryEmail
● EmailAddress
scalar
The contact's primary email address. Optional, unless neither lastName
or organizationName
are specified.
CreateContactInput.socialMedia
● ContactSocialMediaInput
input
The social media details for the contact. Optional.
CreateContactInput.title
● String
scalar
UTF-8 string value that represents the title of the contact's name such as Dr/Mrs/Mr. Optional.
CreateContactInput.userDefinedField1
● String
scalar
UTF-8 string value that represents the user defined field 1 of the contact. Optional.
CreateContactInput.userDefinedField2
● String
scalar
UTF-8 string value that represents the user defined field 2 of the contact. Optional.
CreateContactInput.userDefinedField3
● String
scalar
UTF-8 string value that represents the user defined field 3 of the contact. Optional.
CreateContactInput.userDefinedField4
● String
scalar
UTF-8 string value that represents the user defined field 4 of the contact. Optional.
CreateContactInput.website
● String
scalar
UTF-8 string value that represents the website of the contact. Optional.
Member Of
createContact
mutation