Graphql fields and variables for the templateUpdate mutation
Last updated 2 years ago
Was this helpful?
Update an email template
Scope required: admin:write
For a complete list of input attributes see the type
mutation templateUpdate ($id: ID!, $attributes: TemplateAttributes!) { templateUpdate (id: $id, attributes: $attributes) { errors template { body createdAt id name subject title updatedAt } } }
{ "id": "456123", "attributes": { "id": "456123", "name": "", "title": "", "subject": "", "body": "" } }
id
ID
attributes
errors
List (String)
template