I'm using transactional campaigns and I need to update a campaign's subject and template_id.
So I have 1 campaign and multiple templates
Currently I have this
campaignUpdateInput input = new campaignUpdateInput(
"MY MAILCHIMP KEY"
campaignUpdate update = new campaignUpdate(input);
campaignUpdateOutput output = update.Execute();
I call this twice for 2 name value pairs:
name="subject", value="my subject"
The subject always changes; however, the template_id doesn't appear to work because it sends the same template no matter what template_id is sent to MailChimp.
I think that instead of calling the same method twice to do the same thing, I need to send both pairs at once but I'm not sure how to do that. I receive no errors (I'm trapping them) and I've confirmed the template_id's are correct. Also the campaign
sends fine, with multiple merge fields, just with the wrong template.