entity > email-template

Create entity email template

post/entity/{entityId}/email-template

Request

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

Path parameters

entityIdstring required

Entity ID or Entity 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.