queueEmailCommunication
Queues an email communication that uses a merge document for content and targets one or more contacts.
Throws an error with code:
BAD_USER_INPUTif the input'scontactIdsfield is an empty list.BAD_USER_INPUTif the input'sdelayedDeliveryDatefield is specified and its value represents a date in the past.BAD_USER_INPUTif the input'semailSenderNamefield is empty.BAD_USER_INPUTif the input'semailSubjectfield is empty.NOT_FOUNDif an event matching the input'seventIdfield cannot be found.NOT_FOUNDif contacts matching the input'scontactIdsfield cannot be found within the event specified by theeventIdinput field.NOT_FOUNDif a communication tag code matching the input'scommunicationTagCodefield cannot be found within the event specified by theeventIdinput field.
queueEmailCommunication(
input: QueueEmailCommunicationInput!
): QueueEmailCommunicationPayload!
Arguments
queueEmailCommunication.input ● QueueEmailCommunicationInput! non-null input
Type
QueueEmailCommunicationPayload object
The payload object returned when queuing an email communication that uses a merge document for content.