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