Skip to main content
PATCH
/
api
/
v2
/
contracts
/
{id}
/
expenses
/
{expenseId}
Update an expense of the contract
curl --request PATCH \
  --url https://app.tarefy.com/nodeapi/api/v2/contracts/{id}/expenses/{expenseId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "expense_date": "<string>",
  "amount": 123
}
'

Documentation Index

Fetch the complete documentation index at: https://developers.tarefy.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required
expenseId
integer
required

Body

application/json
name
string
description
string
expense_date
string
amount
number

Response

200

Despesa atualizada com sucesso