# PUT /api/contracts/{id} > Contracts - Update a Contract - **Endpoint:** `PUT /api/contracts/{id}` - **Group:** Contracts - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/ContractsController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `id` | Number | yes | Contract unique ID | | `title` | string | no | Optional Title to update | | `status` | string | no | Optional Status to update | | `note` | string | no | Optional Note to update | | `content` | string | no | Optional Content to update | ## Request example ```bash curl -X PUT "https://yoursite.com/index.php/api/contracts/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": "Contract update success"} } ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/contracts/update-contract/