---
title: "Update default date on debt"
method: PUT
path: "/customers/{customerId}/debts/{debtId}/defaultDate"
tags: ["Debts"]
---

# Update default date on debt

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

## Request

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

Change default date

## Request body

- Date
  - `day` integer: Day of the calendar year.
  - `month` integer: Month of calendar year.
  - `year` integer: Calendar year.

## Response `204`

Successful update of default date returns the request body.

- Date
  - `day` integer: Day of the calendar year.
  - `month` integer: Month of calendar year.
  - `year` integer: Calendar year.

---

[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)
