emailTemplatesEdit
Update an existing email template by id.
Auth · x-app-token · required permission manageEmailTemplate
Related: emailTemplatesAdd, emailTemplatesChangeStatus, emailTemplate
emailTemplatesEdit(_id: String!, name: String!, content: String, blocksJson: String, globalStyles: String): EmailTemplateArguments
Template id to update.
New display name.
New rendered HTML content.
New block-editor structure (JSON string).
New shared CSS.
Returns
Unique template identifier.
Display name in the template picker and emailTemplates search.
Rendered HTML content of the template.
Block-editor structure (JSON string) used to re-render and edit the template.
Shared CSS applied across the template's blocks.
Lifecycle status (e.g. draft, published). Set via emailTemplatesChangeStatus.
User id that created this template.
When this template was created.
When this template was last modified.