---
title: "Atualizar conta a pagar"
method: PUT
path: "/contas-pagar/{idContaPagar}"
tags: ["Contas a pagar"]
---

# Atualizar conta a pagar

`PUT /contas-pagar/{idContaPagar}`

## Request

- Base URL: `https://api.tiny.com.br/public-api/v3`
- URL: `https://api.tiny.com.br/public-api/v3/contas-pagar/{idContaPagar}`
- Auth: HTTP bearer

## Path parameters

- `idContaPagar` integer, required

## Request body

- AtualizarContaPagarRequestModel: 
  - `dataVencimento` string, nullable, required
  - `dataCompetencia` string, nullable
  - `valor` number, float, nullable
  - `categoria` CategoriaRequestModel: 
    - `id` integer, nullable
  - `atualizarContaRecorrente` boolean

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

## Changes

- **2026-11-03** `107f8d039de2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/olist/apis/olist-erp-api-v3/changes/contas-pagar/:idContaPagar/put.md)

---

[API](https://skmtc.dev/olist/apis/olist-erp-api-v3.md) - [All operations](https://skmtc.dev/olist/apis/olist-erp-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/olist/apis/olist-erp-api-v3/revisions/107f8d039de2?raw)
