Journeys
Replace the content of a journey-scoped notification template
Changed onReplace the elemental content of a journey-scoped notification template. Overwrites all elements in the template draft with the provided content.
put/journeys/{templateId}/templates/{notificationId}/content
Request
- Base URLhttps://api.courier.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
templateIdstring required
Journey id
notificationIdstring required
Notification template id
Request body
Example request
{
"content": {
"elements": [
{
"channel": "email"
}
]
}
}Response
Updated scoped notification content
Changes
- breaking
removed
subschema #1subschema #3subschema #7from the//request propertyoneOflist - info
added
subschema #1subschema #3subschema #7to the//request propertyoneOflist
- breaking
- breaking
removed
subschema #4subschema #5from the//request propertyoneOflist - info
added
subschema #4subschema #5to the//request propertyoneOflist
- breaking