---
title: "Update client information on a debt"
method: PUT
path: "/customers/{customerId}/debts/{debtId}/clientFields"
tags: ["Debts"]
---

# Update client information on a debt

`PUT /customers/{customerId}/debts/{debtId}/clientFields`

## Request

- Base URL: `https://api.trueaccord.com/api/v1`
- URL: `https://api.trueaccord.com/api/v1/customers/{customerId}/debts/{debtId}/clientFields`
- Auth: none declared
- TypeScript: <https://skmtc.dev/trueaccord/apis/trueaccord-api/docs/customers/:customerId/debts/:debtId/clientFields/put.ts> (a function with typed inputs; its response is checked against the schema)

Update client fields on debt object. 

**Warning: Overrides existing fields.**

## Request body

- ClientFields
  - `clientFields` object[]
    - `key` string: Key to be added to the debt client fields.
    - `value` string: Value to be added to the debt client fields corresponding to the key.

## Response `204`

Returns same client fields as the request.

- ClientFields
  - `clientFields` object[]
    - `key` string: Key to be added to the debt client fields.
    - `value` string: Value to be added to the debt client fields corresponding to the key.

---

[API](https://skmtc.dev/trueaccord/apis/trueaccord-api.md) - [All operations](https://skmtc.dev/trueaccord/apis/trueaccord-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trueaccord/apis/trueaccord-api/revisions/93d3c0ce897d?raw)
