Hello,
We are looking to implement an automation function.
When the portal language of a customer is changed, we would like to update all of the associated PDF templates and Email templates for that customer to match.
e.g. within a customer object, we would like to update the following:
"default_templates":{
"invoice_email_template_id":"",
"creditnote_email_template_id":"",
"creditnote_template_name":"",
"paymentthankyou_email_template_name":"",
"estimate_template_id":"",
"paymentthankyou_template_id":"",
"invoice_email_template_name":"",
"creditnote_email_template_name":"",
"invoice_template_id":"",
"paymentthankyou_email_template_id":"",
"invoice_template_name":"",
"estimate_template_name":"",
"estimate_email_template_id":"",
"creditnote_template_id":"",
"paymentthankyou_template_name":"",
"estimate_email_template_name":""
},
Does anybody know how this would be achieved? Thanks!