Replaces the text of a comment. item_type, item_id and comment are required again; send the comment's current record. The author does not change.An unknown id does not return 404: a new comment is created instead, written by the API user, and returned with HTTP 200. Check that data.id is the ID you sent.
Request
Authorization
Path Params
Header Params
Body Params application/jsonRequired
Example
{"item_type":"car_rental.reservations","item_id":1052,"comment":"Customer asked for two child seats."}
Responses
🟢200OK
application/json
The updated comment. HTTP 200 is also used for failures: always check success. When it is false, the body is an ErrorUnauthorized (status_code 401 or 403).
Bodyapplication/json
Example
{"success":true,"status_code":200,"errors":[],"data":{"id":812,"comment":"Customer asked for two child seats.","created_by":"Jane Doe","created_at":"2026-10-01 14:03","created_at_diff_with_now":"5 days ago"}}