Update Related Lists

PUT {{api-domain}}/crm/v2/Leads/{{record_id}}/Campaigns

To update the relation between the records. Refer to the documentation for more details.

Request Body

{"data"=>[{"id"=>"{{related_record_id}}", "Member_Status"=>"Active"}, {"id"=>"{{related_record_id}}", "Member_Status"=>"Planning"}]}

RESPONSES

status: OK

{"data":[{"code":"SUCCESS","details":{"Modified_Time":"2021-05-07T06:50:09+00:00","Modified_By":{"name":"Patricia","id":"738964000000291009"},"Created_Time":"2021-05-07T06:46:56+00:00","id":"738964000002131036","Created_By":{"name":"Patricia","id":"738964000000291009"}},"message":"record updated","status":"success"}]}