Update Template Version
update_template_versionUpdate email template version by setting subject, HTML content, plain text, test data, or activation status.
Instructions
Update the content and settings of a template version
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for this version | |
| active | No | Set as active version (1 = active, 0 = inactive) | |
| subject | No | Email subject line (supports Handlebars) | |
| test_data | No | JSON string of test data for Handlebars variables | |
| version_id | Yes | ID of the version to update | |
| template_id | Yes | ID of the template | |
| html_content | No | HTML content of the email template | |
| plain_content | No | Plain text version | |
| generate_plain_content | No | Auto-generate plain text from HTML |