Hi , can we use advanced pdf template in email merger? I am getting a unexpected error at the below line, not sure whats wrong with it. can anyone help me identify what's wrong with below line. Thanks.
var mergeResult = render.mergeEmail({
templateId: 107,
entity{type'customer',id:entityId},
recipient: null,
supportCaseId: null,
transactionId: 1456789,
customRecord: null
});