/bff/emailer/template-add
Creates a new email template and optionally assigns it to an order group and status.
EmailerpostBffEmailerTemplate-add
Parameters
8 body
Body · 8
templateTypeCodestringRequiredTemplate type code (e.g. order-confirmation).
templateCodestringRequiredUnique code identifier for the template.
templateCodeVariantstringOptional variant suffix for the template code.
namestringRequiredHuman-readable template name.
subjectstringRequiredDefault email subject line.
localestringRequiredCommunication locale code used to filter content.
Supported locales: cs, en, fr, it, pl, de, sk, sv, es, zh, ja, uk, da.
Length: 2–2
groupCodestringOrder group code to auto-assign the template to.
statusCodestringOrder status code to auto-assign the template to.
Request
POST /bff/emailer/template-add
curl -X POST "https://api.bizkithub.com/bff/emailer/template-add" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"templateTypeCode": "order-confirmation",
"templateCode": "order-confirmed-v1",
"templateCodeVariant": "example_templateCodeVariant",
"name": "Order Confirmation",
"subject": "Your order has been confirmed",
"locale": "cs",
"groupCode": "example_groupCode",
"statusCode": "example_statusCode"
}'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.