Update a contract comment

PATCH {{baseUrl}}/v1/contracts/:contract_id/comments/{comment_id}

This API updates an existing contract comment.

OAuth Scope

  • Desk.settings.UPDATE

Attributes

Attribute NameData TypeDescription
content<string>
max chars : 32000
Content of the comment. To retrieve or set user mentions, use this code format: zsu[@user:{zuid}zsu.
contentType<string>
max chars : 100
Used to denote the content-type which maybe html or plainText. The default type is html.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;modifiedTime&quot;:null,&quot;attachments&quot;:[{&quot;size&quot;:&quot;12734&quot;,&quot;name&quot;:&quot;Attachment_edited.png&quot;,&quot;id&quot;:&quot;4000000008994&quot;,&quot;href&quot;:&quot;https://desk.zoho.com/api/v1/contracts/4000000528005/comments/4000000529001/attachments/4000000008994/content&quot;}],&quot;commentedTime&quot;:&quot;2017-01-24T19:50:08.000Z&quot;,&quot;id&quot;:&quot;4000000530053&quot;,&quot;contentType&quot;:&quot;plainText&quot;,&quot;commenterId&quot;:&quot;4000000008692&quot;,&quot;content&quot;:&quot;second contract comment edit&quot;,&quot;commenter&quot;:{&quot;firstName&quot;:&quot;Jade&quot;,&quot;lastName&quot;:&quot;Tywin&quot;,&quot;photoURL&quot;:&quot;https://desk.zoho.com/api/v1/portalUser/4000000008692/photo?orgId=292828&quot;,&quot;name&quot;:&quot;Jade Tywin&quot;,&quot;roleName&quot;:&quot;PortalUser&quot;,&quot;type&quot;:&quot;END_USER&quot;,&quot;email&quot;:&quot;jade12tywin@zylker.com&quot;}}