CreateMembershipContactStoreContactInput
Defines the input details for creating a contact in a membership contact store. At least one of lastName
, organizationName
, or primaryEmail
must be provided.
input CreateMembershipContactStoreContactInput {
billing: CreateContactBillingInput
biography: String
contactPhoneNumbers: ContactPhoneNumbersInput
customFields: [CustomFieldInput!]
department: String
externalIdentifier: String
firstName: String
inactiveSince: DateTime
jobTitle: String
lastName: String
marketingPrivacy: ContactMarketingPrivacyStatus
membershipContactStoreId: ID!
middleName: String
organizationName: String
preferredName: ContactPreferredNameInput
primaryAddress: AddressInput
primaryEmail: EmailAddress
secondaryAddress: AddressInput
socialMedia: ContactSocialMediaInput
suffix: String
title: String
useSecondaryAddress: Boolean
userDefinedField1: String
userDefinedField2: String
userDefinedField3: String
userDefinedField4: String
website: String
}
Fields
CreateMembershipContactStoreContactInput.billing
● CreateContactBillingInput
input
The billing details of the contact. Optional.
CreateMembershipContactStoreContactInput.biography
● String
scalar
UTF-8 string value that represents the biography of the contact. Optional.
CreateMembershipContactStoreContactInput.contactPhoneNumbers
● ContactPhoneNumbersInput
input
A list of phone numbers of the contact. Optional.
CreateMembershipContactStoreContactInput.customFields
● [CustomFieldInput!]
list input
The custom fields to create for the contact. Optional.
CreateMembershipContactStoreContactInput.department
● String
scalar
UTF-8 string value that represents the department of the contact. Optional.
CreateMembershipContactStoreContactInput.externalIdentifier
● String
scalar
UTF-8 string value that represents the external identifier of the contact. Optional.
CreateMembershipContactStoreContactInput.firstName
● String
scalar
UTF-8 string value that represents the first name of the contact. Optional.
CreateMembershipContactStoreContactInput.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.
CreateMembershipContactStoreContactInput.jobTitle
● String
scalar
UTF-8 string value that represents the job title of the contact. Optional.
CreateMembershipContactStoreContactInput.lastName
● String
scalar
UTF-8 string value that represents the last name of the contact. Optional, unless neither primaryEmail
or organizationName
are specified.
CreateMembershipContactStoreContactInput.marketingPrivacy
● ContactMarketingPrivacyStatus
enum
Represents the preference of the contact with regard to marketing material. Optional.
CreateMembershipContactStoreContactInput.membershipContactStoreId
● ID!
non-null scalar
The identifier of the membership contact store the contact is to be added to.
CreateMembershipContactStoreContactInput.middleName
● String
scalar
UTF-8 string value that represents the middle name of the contact. Optional.
CreateMembershipContactStoreContactInput.organizationName
● String
scalar
UTF-8 string value that represents the organization name of the contact. Optional, unless neither lastName
or primaryEmail
are specified.
CreateMembershipContactStoreContactInput.preferredName
● ContactPreferredNameInput
input
The contact's preferred name details. Optional.
CreateMembershipContactStoreContactInput.primaryAddress
● AddressInput
input
The primary address for the contact. Optional.
CreateMembershipContactStoreContactInput.primaryEmail
● EmailAddress
scalar
The contact's primary email address. Optional, unless neither lastName
or organizationName
are specified.
CreateMembershipContactStoreContactInput.secondaryAddress
● AddressInput
input
The secondary address for the contact. Optional.
CreateMembershipContactStoreContactInput.socialMedia
● ContactSocialMediaInput
input
The social media details for the contact. Optional.
CreateMembershipContactStoreContactInput.suffix
● String
scalar
UTF-8 string value that represents the name suffix for this contact. Optional.
CreateMembershipContactStoreContactInput.title
● String
scalar
UTF-8 string value that represents the title of the contact's name such as Dr/Mrs/Mr. Optional.
CreateMembershipContactStoreContactInput.useSecondaryAddress
● Boolean
scalar
A flag indicating that the contact’s secondary address should be used instead of the primary address. Optional.
The default value is false
.
CreateMembershipContactStoreContactInput.userDefinedField1
● String
scalar
UTF-8 string value that represents the user defined field 1 of the contact. Optional.
CreateMembershipContactStoreContactInput.userDefinedField2
● String
scalar
UTF-8 string value that represents the user defined field 2 of the contact. Optional.
CreateMembershipContactStoreContactInput.userDefinedField3
● String
scalar
UTF-8 string value that represents the user defined field 3 of the contact. Optional.
CreateMembershipContactStoreContactInput.userDefinedField4
● String
scalar
UTF-8 string value that represents the user defined field 4 of the contact. Optional.
CreateMembershipContactStoreContactInput.website
● String
scalar
UTF-8 string value that represents the website of the contact. Optional.
Member Of
createMembershipContactStoreContact
mutation