Update template

PATCH /templates/:id

Change a template's name, alias, from, reply_to, subject, variables, html or content. Changes are saved as a draft: emails keep using the published version until you publish again. :id can be the alias.

FieldTypeDescription
namestringTemplate name.
subjectstringSubject, with {{variables}}.
htmlstringReplaces the content with this HTML.
variablesobject[]{ name, type, fallback } definitions.

More guides