CreateContactStoreMarketingRecordInput
Defines the input for creating a marketing record in a contact store.
input CreateContactStoreMarketingRecordInput {
contactId: ID!
contactStoreId: ID!
customFields: [CustomFieldInput!]
tagId: ID!
value: JSON
}
Fields
CreateContactStoreMarketingRecordInput.contactId ● ID! non-null scalar
The identifier of the contact associated with the marketing record.
CreateContactStoreMarketingRecordInput.contactStoreId ● ID! non-null scalar
The identifier of the contact store associated with the marketing record.
CreateContactStoreMarketingRecordInput.customFields ● [CustomFieldInput!] list input
The custom fields to update or create for the marketing record. Optional.
CreateContactStoreMarketingRecordInput.tagId ● ID! non-null scalar
The identifier of the marketing tag associated with the marketing record.
CreateContactStoreMarketingRecordInput.value ● JSON scalar
The value of the marketing record. Optional.
Expected type depending on the marketing tag type:
| Marketing tag type | Expected type |
|---|---|
TAG_ONLY | Don't supply value field |
TEXT | A string |
NUMERIC | A numeric value |
DATE | A date represented as a string with the yyyy-MM-dd format |
SUB_TAG | The desired value of the sub-tag |
Member Of
createContactStoreMarketingRecord mutation