Skip to main content

queueMembershipContactStoreHtmlEmailCommunication

Queues an email communication that uses an HTML document for content and targets one or more contacts.

Throws an error with code:

  • BAD_USER_INPUT if the input's contactIds field is an empty list.
  • BAD_USER_INPUT if the input's delayedDeliveryDate field is specified and its value represents a date in the past.
  • BAD_USER_INPUT if the input's emailSenderName field is empty.
  • BAD_USER_INPUT if the input's emailSubject field is empty.
  • BAD_USER_INPUT if the input's htmlBody field is empty.
  • NOT_FOUND if a membership contact store matching the input's membershipContactStoreId field cannot be found.
  • NOT_FOUND if contacts matching the input's contactIds field cannot be found within the membership contact store specified by the membershipContactStoreId input field.
  • NOT_FOUND if a communication tag code matching the input's communicationTagCode field cannot be found within the membership contact store specified by the membershipContactStoreId input field.
  • NOT_FOUND if a brand matching the input's brandId field cannot be found within the membership contact store specified by the membershipContactStoreId input field.
queueMembershipContactStoreHtmlEmailCommunication(
input: QueueMembershipContactStoreHtmlEmailCommunicationInput!
): QueueHtmlEmailCommunicationPayload!

Arguments

queueMembershipContactStoreHtmlEmailCommunication.input ● QueueMembershipContactStoreHtmlEmailCommunicationInput! non-null input

Type

QueueHtmlEmailCommunicationPayload object

The payload object returned when queuing an email communication whose content is an HTML document.