Update entity email template

PUT

Update entity email template

Path parameters

entityIdstringRequired

Entity ID or Entity ForeignID

emailTemplateIdstringRequired

Email Template ID or Email Template ForeignID

Request

This endpoint expects an object.
templateType"PAYMENT" or "DISBURSEMENT"Required
Allowed values: PAYMENTDISBURSEMENT
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.

templateType"PAYMENT" or "DISBURSEMENT"
Allowed values: PAYMENTDISBURSEMENT
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.