问题
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?
回答1:
Fixed - mc:edit sections won't be updated by the API if they sit within a mc:repeatable!
来源:https://stackoverflow.com/questions/33897302/mailchimp-api-v3-campaign-content-template-sections