Skip to content
v0.3

notification.template.set

Write the tenant’s (or one store’s) own wording for a message type on one channel, in one language. This is an OVERRIDE: the factory default is code and is never written over, so notification.template.reset restores it by deleting this row. The same command backs the admin editor and the CLI.

  • Scope: tenant.settings.write
  • System: no
  • Reachable from: POST /v1/commands/notification.template.set (tenant credential) · MCP tool notification.template.set · SDK client.call('notification.template.set', …)
  • Events: notification.config.updated
{
"properties": {
"channel_key": {
"pattern": "^[a-z][a-z0-9_]*$",
"type": "string"
},
"content": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"locale": {
"maxLength": 35,
"minLength": 2,
"type": "string"
},
"store_id": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"type_key": {
"minLength": 1,
"type": "string"
}
},
"required": [
"type_key",
"channel_key",
"locale",
"content"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"base_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"layer": {
"enum": [
"store",
"tenant"
],
"type": "string"
},
"template_id": {
"type": "string"
}
},
"required": [
"template_id",
"layer",
"base_version"
],
"type": "object"
}

validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)