TanqoryExtMessagingMessageInput
- Input object
- Other operations
Input fields
| Input field | Type | Required | Default | Description |
|---|---|---|---|---|
audienceSegmentId | ID | Optional | A campaign's recipients: a customer segment of the store; null = every email subscriber. | |
body | String | Optional | ||
channel | TanqoryExtMessagingChannel | Optional | ||
design | JSON | Optional | Email only (not "Code your own"): the visual design; the body becomes its plain text. INVALID names the part of the design that is wrong (a color, a link that is not https, a number out of range, an unknown section). null removes it. | |
previewText | String | Optional | ||
scheduledAt | DateTime | Optional | ||
shortenLinks | Boolean | Optional | SMS: shorten links when it is sent. | |
status | TanqoryExtMessagingMessageStatus | Optional | SCHEDULED needs scheduledAt in the future; SENDING and SENT are set by sending (tanqoryExtMessagingMessageSend), not here. | |
subject | String | Optional | ||
templateId | ID | Optional | Start from one of the store's saved templates (tanqoryExtMessagingTemplates): its channel, subject, preview text and body fill what is not given; an empty template subject starts as the template's name. Create only; not with templateKey. | |
templateKey | String | Optional | Start from a message template (its subject, preview text and body fill what is not given). |