SendTestEmailInput input
SendTestEmailInput is a GraphQL input of the Chameleoon MAX API.
Input fields
template
String! · required
The template's code. NOT_FOUND (field template, reason TEMPLATE_NOT_FOUND) when it does not exist.
resource
The record to render with, as in sendEmail. If omitted, a template written for a kind of
record renders fixed sample data. The message is not linked to the record.
sender
The sender, as in sendEmail.
to
[String!]! · required
1 to 5 addresses (otherwise NO_RECIPIENT or TOO_MANY_RECIPIENTS). Never the template's
default.
language
String
A language code from the locales catalogue (en-GB reads as en). An unknown or omitted code
falls back to the order's locale, else the organisation's default language, else sk.
variables
A JSON object of up to 64 KiB, read in Liquid as vars.*.
attachments
The attachments. None by default. When given, they are checked as in sendEmail and never
linked. At most 20, and 15 MiB in all.
requestId
String! · required
Your idempotency key for this call, 1 to 128 characters. See sendEmail.
Used by
sendTestEmail(mutation)