# PUT /api/estimate-comments/{id} > Estimate Comments - Update Estimate Comment - **Endpoint:** `PUT /api/estimate-comments/{id}` - **Group:** Estimate Comments - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/EstimateCommentsController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `id` | Number | yes | Estimate comment unique ID | | `description` | string | no | Optional Comment content to update | ## Request example ```bash curl -X PUT "https://yoursite.com/index.php/api/estimate-comments/123" \ -H "authtoken: YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "field": "value" }' ``` ## Responses ### Success - Success-Response: ```json HTTP/1.1 200 OK { "status": 200, "messages": {"success": "Comment updated successfully."} } ``` ### Error - Error-Response: ```json HTTP/1.1 404 Not Found { "status": false, "messages": { "error": "Invalid comment ID." } } ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/estimate-comments/update-estimate-comment/