Skip to main content
MUTATION
emailTemplatesEdit(_id: String!, name: String!, content: String, blocksJson: String, globalStyles: String): EmailTemplate

Arguments

_id
String!
required

Template id to update.

name
String!
required

New display name.

content
String

New rendered HTML content.

blocksJson
String

New block-editor structure (JSON string).

globalStyles
String

New shared CSS.

_id
String!

Unique template identifier.

name
String!

Display name in the template picker and emailTemplates search.

content
String

Rendered HTML content of the template.

blocksJson
String

Block-editor structure (JSON string) used to re-render and edit the template.

globalStyles
String

Shared CSS applied across the template's blocks.

status
String

Lifecycle status (e.g. draft, published). Set via emailTemplatesChangeStatus.

createdBy
String

User id that created this template.

createdAt
Date

When this template was created.

modifiedAt
Date

When this template was last modified.

createdUser

Resolved User that created this template.

Mutation
Variables
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦