Transactional emails
Update an email template
put/smtp/templates/{templateId}
Request
- Base URL: https://api.brevo.com/v3
- URL: https://api.brevo.com/v3/smtp/templates/{templateId}
- Auth: one of:
- API key in header api-key
- API key in header partner-key
Path parameters
templateIdinteger required
id of the template
Request body
Example request
{
"tag": "OrderConfirmation",
"sender": {
"name": "Mary from MyShop",
"email": "contact@myshop.com",
"id": 3
},
"templateName": "Order Confirmation - EN",
"htmlContent": "The order n°xxxxx has been confirmed. Thanks for your purchase",
"htmlUrl": "https://html.domain.com",
"subject": "Thanks for your purchase !",
"replyTo": "support@myshop.com",
"toField": "{FNAME} {LNAME}",
"attachmentUrl": "https://attachment.domain.com",
"isActive": true
}Response
transactional email template updated
Changes
No recorded changes to this operation across all 2 revisions of this API.