PUT
/
v0
/
ledgers
/
{ledger_id}
/
transactions
/
{transaction_id}
/
categories

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The Teal instance ID

Path Parameters

transaction_id
string
required

The Transaction ID.

ledger_id
string
required

The Ledger ID.

Body

application/json
updated_category_ledger_id
string
required

The ID of the new category ledger.

category_ledger_id
string | null

If specified, the ID of the category ledger that will be changed to the new value. If no value is specified, all categories will be updated.

Response

200 - application/json
transaction
object
required

The Transaction object.

categories
object[]
required

A list of the categories of the Transaction.

ledger
object
required

The Ledger object of the financial account associated with the Transaction.

journal_entry_id
string | null

The ID of the Journal Entry that the Transaction's Line Entry is associated with.