Skip to main content

CreateMembershipContactStoreMarketingRecordInput

Defines the input for creating a marketing record in a membership contact store.

input CreateMembershipContactStoreMarketingRecordInput {
contactId: ID!
customFields: [CustomFieldInput!]
membershipContactStoreId: ID!
tagId: ID!
value: JSON
}

Fields

CreateMembershipContactStoreMarketingRecordInput.contactId ● ID! non-null scalar

The identifier of the contact associated with the marketing record.

CreateMembershipContactStoreMarketingRecordInput.customFields ● [CustomFieldInput!] list input

The custom fields to update or create for the marketing record. Optional.

CreateMembershipContactStoreMarketingRecordInput.membershipContactStoreId ● ID! non-null scalar

The identifier of the membership contact store associated with the marketing record.

CreateMembershipContactStoreMarketingRecordInput.tagId ● ID! non-null scalar

The identifier of the marketing tag associated with the marketing record.

CreateMembershipContactStoreMarketingRecordInput.value ● JSON scalar

The value of the marketing record. Optional.

Expected type depending on the marketing tag type:

Marketing tag typeExpected type
TAG_ONLYDon't supply value field
TEXTA string
NUMERICA numeric value
DATEA date represented as a string with the yyyy-MM-dd format
SUB_TAGThe desired value of the sub-tag

Member Of

createMembershipContactStoreMarketingRecord mutation