On the Mandrill Template API page, I connect the following JSON to validate the Render when I click "Try":
{ "key": "MY VALID KEY", "template_name": "test1", "template_content": [ ], "merge_vars": [ { "name": "invoice_number", "content": "1001" } ] }
Test results are returned with my template, but the one merge_var tag that I tested was not combined, i.e. the result still contains {{invoice_number}} :
{ "html": "<p style=\"font-family: sans-serif;\">Dear Customer,</p>\r\n\r\n<p style=\"font-family: sans-serif;\">Invoice {{invoice_number}} ...</p>" }
merge_vars Mandrill Render API ignore merge_vars that map to Handlebars variables?
source share