Chameleoon MAX · Types
SaveEmailTemplateDesignInput input
SaveEmailTemplateDesignInput is a GraphQL input of the Chameleoon MAX API.
Input fields
code
String! · required
The template's code.
version
Int! · required
The version your change is based on. CONFLICT with reason TEMPLATE_CHANGED when somebody
saved first.
language
String
Leave it null or omit it: a JSON template has only the all-languages variant, and its
languages are its translations. A language is refused with VALIDATION (field language) and
reason JSON_ONE_VARIANT.
design
JSON! · required
The design (EmailTemplateVariant design), rendered and checked as a send would
render it.
texts
[EmailTemplateTextInput!]! · required
The whole new dictionary. An empty list leaves no texts.
Used by
saveEmailTemplateDesign(mutation)