Update entity email template

Update entity email template

Path parameters

entityIdstringRequired
Entity ID or Entity ForeignID
emailTemplateIdstringRequired
Email Template ID or Email Template ForeignID

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
templateTypeenumRequired
Allowed values:
namestringRequired
The name of the email template.
subjectstringRequired
The subject of the email template.
contentstringRequired
The HTML content of the email template.
isDefaultbooleanOptional
If true, this email template will be used as the default template for new invoices.

Response

This endpoint returns an object.
idstring
entityIdstring
The ID of the entity that this email template is associated with.
templateTypeenum
Allowed values:
namestring
The name of the email template.
subjectstring
The subject of the email template.
contentstring
The HTML content of the email template.
isDefaultboolean
True if this email template is the default template for new invoices.

Errors