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

# PATCH /contracts/{uuid}/status

`PATCH /contracts/{uuid}/status`

## 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}/status`
- Auth: HTTP bearer

## Path parameters

- `uuid` string, required

## Request body

- UpdateContractStatusDto
  - `status` 'ACTIVE' | 'SUSPENDED' | 'COMPLETED' | 'DELETED', required: The status of the receivable. Note: If setting to "Paid", both "payment_date" and "payment_amount" must be provided.

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