Skip to content

Update Email Template

Updates an email template — the Edit row action on the admin Marketing → Communications → Email Templates screen. Only the fields you send are changed; the rest keep their current values.

TIP

New here? Read the Email Templates overview for what an email template does and how its fields behave.

Operation

OperationTypePurpose
updateAdminMarketingTemplateMutationUpdate an email template

Details

  • Requires an admin Bearer token and the marketing.communications.email_templates.edit permission.
  • Pass the template's IRI as id. The mutation is a partial merge and returns the full template payload.

Input fields

FieldTypeRequiredNotes
idIDYesThe template's IRI
nameStringNoTemplate name
statusStringNoactive, inactive, or draft
contentStringNoRaw HTML email body

Released under the MIT License.