/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
Body · 4
typeCodestringRequiredTemplate type code (must exist in brj__emailer_template_type).
localestringRequiredTarget locale code (cs, en, …).
templateCodeVariantstringOptional variant suffix (used by order-status-notification).
fromDefaultbooleanRequiredWhen true, pre-fill subject + body from the system default; otherwise create an empty override.
Request
POST /bff/emailer/template-create-override
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.