Email Templates
Create a new email template
Create a new email template with optional upsell products
post/email-templates
Request
- Base URLhttps://api.findmydocument.net
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"templateName": "Upsell - Title Plan",
"subject": "Complete your order with Title Plan!",
"body": "<h1>Hi {{customerName}}</h1><p>Add Title Plan for just £10!</p>",
"upsellProducts": [
2,
3
],
"sortOrder": 1
}Response
Email template created successfully
Changes
No recorded changes to this operation across all 7 revisions of this API.