1

We have been using the Transactional API to run a set of templates for months now with no issues, we have recently wanted to update some of the content in these templates. We have made the updates in Content Builder and use the following transactional PATCH to update, everytime we see a 200, but it doesnt seem like the changes are being reflected in the update. Am I missing something in the PATCH specific to changes in content builder?

PATCH Body:

{
    "status": "Active",
    "name": "my-template",
    "description": "Updated Content",
    "classification": "Default Transactional",
    "content": {
        "customerKey": "cb-customerKey"
    },
    "subscriptions": {
        "list": "All Subscribers - 1111",
        "autoAddSubscriber": true,
        "updateSubscriber": false
    },
    "options": {
        "trackLinks": true
    }
}
2
  • can you try PATCH status to "Inactive" then back to "Active" – EazyE May 4 at 17:09
  • Yup that did the trick, just updating it would make to much sense lol. – Nate Harris May 4 at 20:49
1

As @EazyE stated, to update HTML content you need to first make the template inactive then PATCH again and make it active.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.