---
title: "PUT /contracts/{uuid}"
method: PUT
path: "/contracts/{uuid}"
tags: ["Contracts"]
---

# PUT /contracts/{uuid}

`PUT /contracts/{uuid}`

## Request

- Base URL: `https://api.kolek.com.br` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolek.com.br/contracts/{uuid}`
- Auth: HTTP bearer

## Path parameters

- `uuid` string, required

## Request body

- UpdateContractDto
  - `line_items` object: The line items of the contract. Array or JSON string.
  - `services` object: Alias for line_items, same shape as contract create services.
  - `update_option` string, required: The update option of the contract.
  - `issue_day` number: Day of the month for issue date (1-31)
  - `billing_day` number: Day of the month for billing/due date (1-31)
  - `discount` number: Discount percentage
  - `late_fee` number: Late fee percentage
  - `interest` number: Interest percentage per month

## Response `200`

Successfully updated the status of the contract.

## Other responses

- `401`: Unauthorized - User not authorized to update the status of this contract.
- `404`: Contract not found.
- `500`: Internal server error.

---

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