Update an email template
PUT {{baseUrl}}/smtp/templates/:templateId
Request Body
{"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}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |