entity > email-template

Update entity email template

Update entity email template

put/entity/{entityId}/email-template/{emailTemplateId}

Request

  • Base URL: https://api.mercoa.com
  • URL: https://api.mercoa.com/entity/{entityId}/email-template/{emailTemplateId}
  • Auth: HTTP bearer

Path parameters

entityIdstring required

Entity ID or Entity ForeignID

emailTemplateIdstring required

Email Template ID or Email Template ForeignID

Request body

templateType'PAYMENT' | 'DISBURSEMENT' required
namestring required

The name of the email template.

subjectstring required

The subject of the email template.

contentstring required

The HTML content of the email template.

isDefaultboolean

If true, this email template will be used as the default template for new invoices.

Response

Response with status 200

idstring required
entityIdstring required
templateType'PAYMENT' | 'DISBURSEMENT' required
namestring required

The name of the email template.

subjectstring required

The subject of the email template.

contentstring required

The HTML content of the email template.

isDefaultboolean required

True if this email template is the default template for new invoices.

Changes

No recorded changes to this operation across all 1 revision of this API.