DocsAPI ReferenceEmailer/bff/emailer/template-create-override
postEmailerAdmin BFF

/bff/emailer/template-create-override

Creates a new per-organisation brj__emailer_template row for the given type + locale (+ optional code variant). When fromDefault=true, subject and body are seeded from the matching brj__emailer_template_default; otherwise the override starts empty and the admin can write it from scratch in the editor.

EmailerpostBffEmailerTemplate-create-override

Parameters

4 body

4 total
Body · 4
typeCodestringRequired

Template type code (must exist in brj__emailer_template_type).

localestringRequired

Target locale code (cs, en, …).

templateCodeVariantstring

Optional variant suffix (used by order-status-notification).

fromDefaultbooleanRequired

When true, pre-fill subject + body from the system default; otherwise create an empty override.

Request

POST /bff/emailer/template-create-override

post
curl -X POST "https://api.bizkithub.com/bff/emailer/template-create-override" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "typeCode": "example_typeCode",
  "locale": "example_locale",
  "templateCodeVariant": "example_templateCodeVariant",
  "fromDefault": false
}'

Response

JSON payload

{
  "success": true
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key