Parametry
1 w query · Treść JSON
Parametry query
· 1apiKeystringWymaganeYour BizKitHub API key (passed as GET parameter).
Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more
PRODPGrFxpGEtrOZfuWhnoJohUYBXuOETreść żądania
application/jsonsubjectstringOpcjonalneEmail subject line. Required with htmlBody; ignored with templateCode (the template has its own).
Order confirmation #12345fromstringOpcjonalneSender email address or name+email. If omitted, organisation default is used.
[email protected]ccstringOpcjonalneCC recipient email address.
bccstringOpcjonalneBCC recipient email address.
replyTostringOpcjonalneReply-To email address.
prioritynumberOpcjonalneEmail priority (lower = higher priority). Default queue priority if omitted.
1510notestringOpcjonalneInternal note attached to the email record (not sent to recipient).
htmlBodystringOpcjonalneHTML content of the email body. Send either htmlBody (with subject) or templateCode.
templateCodestringOpcjonalneCode of the organisation's own template: admin → E-maily → Šablony, type "Vlastní e-mail (odesílaný přes API)", field "variant". The template language follows locale (falls back to another language of the same code). Subject and body are rendered from the template; sending fails (nothing is sent) when the template does not exist or is inactive, or when a {{ placeholder }} has no value.
win-backvariablesobjectOpcjonalneValues for {{ name }} placeholders of the template. Names: letters and digits, starting with a letter. Values are HTML-escaped, except names ending in Html (ready-made HTML, e.g. badgesHtml). Organisation variables (e.g. organisationName) are always available; with orderHash also order variables (orderNumber, orderPrice, payLink, orderPageLink, …).
{"firstName":"Jana","lastVisitDate":"12. 11. 2026"}localestringOpcjonalneCommunication locale code — controls the language of textual data (product names, descriptions, articles, storefront UI, transactional e-mails).
Preferred format: BCP 47 language tag — language[-Script][-REGION]. Use the full tag whenever the script or region matters:
en-GBvs.en-US(British vs. American spelling)pt-PTvs.pt-BR(European vs. Brazilian Portuguese)zh-Hansvs.zh-Hant(Simplified vs. Traditional Chinese)sr-Latnvs.sr-Cyrl(Latin vs. Cyrillic Serbian)
Backwards-compatible fallback: the bare two-letter ISO 639-1 code (cs, en, pl, …) is accepted indefinitely — legacy clients that only send the language subtag continue to work unchanged.
Resolution algorithm (server-side): the input is resolved against the supported locale list via the [RFC 4647 Lookup] progressive-fallback strategy — trailing subtags are stripped one by one until a supported locale is found. Example: en-GB-oxendict → en-GB → en (matched). If no subtag combination is supported, the request is rejected.
Currently supported locales: cs, en, fr, it, pl, de, sk, sv, es, zh, ja, uk, da, hu, ro, nl, pt, fi, nb, hr. Region-specific variants (e.g. en-GB, pt-BR) are accepted and resolved to their base language when the exact variant is not registered separately.
csenen-GBpt-BRzh-HansorderHashstringOpcjonalneOrder the e-mail is about (hash from POST /shop/order/create). The e-mail then appears in the order detail in admin; with templateCode order variables are available. The tag is kept in the internal note.
sSO98YxzR4KJiOu66Jn6K3wRwa4FPI7StagstringOpcjonalneTag for categorizing the email (e.g. for analytics).
order-confirmationnewsletterforceSendNowbooleanOpcjonalneIf true, send immediately bypassing the queue. Default: false.
attachmentListobject | object | object[]OpcjonalneList of attachments. Each item is one of blobToken, attachmentUrl, or rawTextContent.
blobTokenstringWymaganeToken of a file stored in blob storage.
attachmentUrlstringWymaganePublic URL of the file to attach.
rawTextContentstringWymaganeRaw text content to attach as a file.