post http://{{url}}/v1/notifications/templates/
Update a notification template (available for email, sms and webhook notifications types).
Request params
field | required | type | description |
---|---|---|---|
id | + | string (24 hex characters) | _id received at the creation stage |
Request body
field | required | type | description |
---|---|---|---|
body | - | string | Use custom text or/and predefined variables, in which PowerBoard automatically pulls values from customer, charge or subscription data objects. |
label | - | string | Name of current template to identify it further |
html | - | bool | Body could be in html or plain text format. Allowed values true, false |
type | - | string | Allowed values: message, fields. |
notification_event | - | string | Event to trigger notification. Look at the Event table |