AnsweredAssumed Answered

How to add a tag to the contact using REST API

Question asked by donald-duck on Apr 20, 2017
Latest reply on Feb 13, 2018 by Patrick McQueen

I am looking for a way how to add/delete tags to/from the contact resource. I just tried to send array like in example:

 

"request":{
  "method":"post",
  "uri":"https://trial_id.trial.sugarcrm.eu/rest/v10/Contacts",
  "body":{
    "last_name":"TestContact update_tags",
    "tag":[
      {
        "id":"4a3acb22-264c-11e7-981b-06d38a5bc4ff"
      }
    ]
  }

But field tag seems to be ignored. Should I use some flag here, or there is some other endpoint to manage tag association?

Outcomes