emailTemplatesChangeStatus
Change the status (e.g. draft/published) of an email template.
Auth · x-app-token · required permission manageEmailTemplate
Related: emailTemplatesEdit, emailTemplate
MUTATION
emailTemplatesChangeStatus(_id: String!, status: String): EmailTemplateArguments
_id
String!
required
Template id.
status
String
New status value.
Returns
_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.
Mutation
Variables
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦