i have pushed a content using REST API in content Builder, now i want to update the content that is pushed, im trying to use PUT and PATCH for the same but its giving 500 internal server error. Below is the payload that im trying to pass

EndPoint URL that i'm using for PUT/PATCH is https://www.exacttargetapis.com/asset/v1/content/assets/{20843}

  "name": "emailtest_8",
    "views": {
    "html": {
      "content": "<!DOCTYPE html><body>This is a simple html paste email.</body></html>"
    "assetType": {
    "name": "htmlemail",
    "id": 208

I have tried using POSTMAN rest client to test but still it says

500 internal server error.

Any help is much appreciated

  • Salesforce doesn't support the PATCH method for HttpRequests.... so there's a rabbit hole you can avoid going down. – John Thompson Jan 17 '18 at 14:07
  • Incorrect - SFMC does allow the PATCH method. – Gortonington Jan 17 '18 at 14:56
  • 1
    on your endpoint, remove the curly brackets {} and leave just the ID number – Gortonington Jan 17 '18 at 14:56
  • 1
    @Gortonington thanks mate, PATCH is working now. Is PUT method supported for httprequest? – Abhishek Jan 18 '18 at 8:24

Your endpoint does not need the curly brackets around it. Remove {} from around your ID number and your call should work perfectly.

SFMC does allow the following:

  1. POST
  2. GET
  3. PUT
  4. PATCH

This is shown in the REST API reference section of the help docs

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.