# PUT /api/clients/{id} > Clients - Update a Client - **Endpoint:** `PUT /api/clients/{id}` - **Group:** Clients - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/ClientsController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `id` | Number | yes | Client unique ID | | `company_name` | string | yes | Optional Company Name | | `owner_id` | string | yes | Optional Company owner id | | `group_ids` | string | yes | Optional Company group ids | | `address` | string | yes | Optional Company address | | `city` | string | yes | Optional Company city | | `state` | string | yes | Optional Company state | | `zip` | string | yes | Optional Company zip | | `country` | string | yes | Optional Company country | | `phone` | string | yes | Optional Company phone | | `website` | string | yes | Optional Company website | | `vat_number` | string | yes | Optional Company vat number | | `disable_online_payment` | string | yes | Optional Company disable online payment | ## Request example ```bash curl -X PUT "https://yoursite.com/index.php/api/clients/123" \ -H "authtoken: YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "company_name": "...", "owner_id": "...", "group_ids": "...", "address": "...", "city": "...", "state": "...", "zip": "...", "country": "...", "phone": "...", "website": "...", "vat_number": "...", "disable_online_payment": "..." }' ``` ## Responses ### Success - Success-Response: ```json HTTP/1.1 200 OK { "status": true, "message": "Client Update Successful." } HTTP/1.1 404 Not Found { "status": false, "message": "Client Update Fail." } ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/clients/update-client/