Replace a journey-scoped notification template
Changed onReplaces the draft content of one journey's notification template. Publish it before send nodes referencing it render the change.
Request
- Base URLhttps://api.courier.com
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/trycourier/apis/courier/docs/journeys/:templateId/templates/:notificationId/put.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
Journey id
Notification template id
Request body
Example request
{
"notification": {
"content": {
"elements": [
{
"channel": "email"
}
]
}
}
}Response
Updated notification template
Example response
{
"content": {
"elements": [
{
"channel": "email"
}
]
}
}Changes
- breaking
removed
subschema #1subschema #3subschema #7from the///request propertyoneOflist - breaking
added
subschema #1subschema #3subschema #7to the//response propertyoneOflist for the response status - info
added
subschema #1subschema #3subschema #7to the///request propertyoneOflist - info
removed
subschema #1subschema #3subschema #7from the//response propertyoneOflist for the response status
- breaking
- breaking
removed
subschema #4subschema #5from the///request propertyoneOflist - breaking
added
subschema #4subschema #5to the//response propertyoneOflist for the response status - info
added
subschema #4subschema #5to the///request propertyoneOflist - info
removed
subschema #4subschema #5from the//response propertyoneOflist for the response status
- breaking