I'm referring to this page in the API documentation when trying to programatically create content for a MailChimp campaign. I have the following section in my template and I'm trying to change its content:
<td mc:edit="body">To be replaced by API</td>
and here is the JSON request:
{"template":{"id":"170189","sections":{"body":"testing content"}}}
But the content isn't being changed! Everything else is working, eg template 170189 is being loaded into the campaign. Any hints?
Fixed - mc:edit sections won't be updated by the API if they sit within a mc:repeatable!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With