Chameleoon MAX · Email templates
updateEmailTemplate mutation
updateEmailTemplate is a GraphQL mutation of the Chameleoon MAX API. Send it as POST https://max-api.chameleoon.sk/api/v1/graphql with your API key, see Chameleoon MAX.
Updates the template's head: its name, resource kind and defaults. Call it with the version
you read. A field you omit keeps its value, and a field sent as null is cleared.
- Requires the
emailTemplate.managepermission. ChangingdefaultCcordefaultBccalso requires theemail.readpermission (otherwiseFORBIDDEN_ROLE). CONFLICTwith reasonTEMPLATE_CHANGEDwhen somebody saved the template after you read it. Read it again.
Arguments
input:UpdateEmailTemplateInput!· required
Returns
Example
Mutation
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.