Update client
Edits the Client. **PATCH is partial**: only the sent fields change; `name`, if sent, must not be blank. Answers **200** with the updated resource.
**Body** (JSON, all optional):
- `name` (string, filled when present, max 255)
- `last_name` (string, nullable, max 255)
- `company` (string, nullable, max 255)
Requires a full-access token. A collaborator may only update a Client they created; an administrator or global manager may update any Client of the organization. A Client of another organization, or a Contact id, answers 404.
Authentication
AuthorizationBearer
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Path parameters
client_id
Request
This endpoint expects an object.
company
Response
200 - Client updated
data
jsonapi
Errors
404
Not Found Error

