---
title: "Replaces every updatable field of a client (BF-7501)."
method: PUT
path: "/v{version}/Clients/{clientId}"
tags: ["Clients"]
---

# Replaces every updatable field of a client (BF-7501).

`PUT /v{version}/Clients/{clientId}`

Full replace of businessName, clientCode, phone, fax and isActive. businessName and isActive are
required; clientCode, phone and fax are cleared when absent or null - use PATCH to change only some.
Field names are those of GET /v1/Clients/{clientId}, so its data can be sent back; other keys are
ignored. A clientId in the body must equal the route. businessName must not be used by another
client of the company. Phone and fax format rules apply only to values that change. Deactivating a
client does not change its jobs, contacts or addresses. When every value equals the stored one
nothing is written.

## Path parameters

- `clientId` integer, required
- `version` string, required

## Headers

- `company-id` string, required

## Request body

- ClientsContractsCommandsUpdatesPutClientCommand
  - `clientId` integer
  - `businessName` string, nullable
  - `clientCode` string, nullable
  - `phone` string, nullable
  - `fax` string, nullable
  - `isActive` boolean, nullable

## Response `200`

Success

- ClientsContractsCommandsUpdateClientResponse
  - `isValid` boolean
  - `errors` string[], nullable
  - `warnings` string[], nullable
  - `info` string[], nullable
  - `message` string, nullable
  - `data` ClientsContractsCommandsUpdatedClientResponse
    - `clientId` integer

## Changes

- **2026-09-24** `b6c431404f24` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/bilflo/apis/bilflo-api/changes/v:version/Clients/:clientId/put.md)

---

[API](https://skmtc.dev/bilflo/apis/bilflo-api.md) · [All operations](https://skmtc.dev/bilflo/apis/bilflo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bilflo/apis/bilflo-api/revisions/5063eab95b17?raw)
