Update mail thread details

PUT {{baseUrl}}/mailbox/mailThreads/:id

Updates the properties of a mail thread.

Request Body

[{"name"=>"deal_id", "value"=>"<integer>", "datatype"=>"string"}, {"name"=>"lead_id", "value"=>"<uuid>", "datatype"=>"string"}, {"name"=>"shared_flag", "value"=>"<number>", "datatype"=>"string"}, {"name"=>"read_flag", "value"=>"<number>", "datatype"=>"string"}, {"name"=>"archived_flag", "value"=>"<number>", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:{&quot;id&quot;:1,&quot;folders&quot;:[&quot;inbox&quot;],&quot;account_id&quot;:&quot;12123qwaesda1&quot;,&quot;user_id&quot;:9,&quot;version&quot;:13,&quot;subject&quot;:&quot;[EXAMPLE] Subject&quot;,&quot;snippet&quot;:&quot;[EXAMPLE] Snippet&quot;,&quot;snippet_draft&quot;:null,&quot;snippet_sent&quot;:&quot;&quot;,&quot;message_count&quot;:7,&quot;read_flag&quot;:0,&quot;mail_tracking_status&quot;:null,&quot;has_attachments_flag&quot;:1,&quot;has_inline_attachments_flag&quot;:1,&quot;has_real_attachments_flag&quot;:0,&quot;has_draft_flag&quot;:0,&quot;has_sent_flag&quot;:0,&quot;archived_flag&quot;:0,&quot;deleted_flag&quot;:0,&quot;shared_flag&quot;:1,&quot;synced_flag&quot;:1,&quot;external_deleted_flag&quot;:0,&quot;smart_bcc_flag&quot;:0,&quot;first_message_to_me_flag&quot;:1,&quot;mail_link_tracking_enabled_flag&quot;:0,&quot;last_message_timestamp&quot;:&quot;2019-11-25T10:30:50.000Z&quot;,&quot;first_message_timestamp&quot;:&quot;2019-11-25T08:40:50.000Z&quot;,&quot;last_message_sent_timestamp&quot;:null,&quot;last_message_received_timestamp&quot;:&quot;2019-11-25T10:30:50.000Z&quot;,&quot;add_time&quot;:&quot;2019-11-25T08:41:10.000Z&quot;,&quot;update_time&quot;:&quot;2019-11-25T10:31:34.000Z&quot;,&quot;deal_id&quot;:null,&quot;deal_status&quot;:null,&quot;all_messages_sent_flag&quot;:0}}