Update Template
This API allows you to update an existing email template in Mailercloud. You can update a template either by providing its id or by using the templateName — at least one of them is required.
Required Fields:
-
id: The unique ID of the template you want to update. (Required if templateName is not provided.)
-
templateName: The name of the template you want to update. (Required if id is not provided.)
-
name: The new name for the template (maximum 100 characters). The name must be unique.
-
html: The updated HTML content of the template.
Optional Fields:
-
categoryId: Specifies the category ID of the template, you can get it from the Get Template Categories API. It would be 0 by default.
-
plainText: Specifies the plain text content