---
title: "Update an existing link between transactions."
method: PUT
path: "/v1/transaction-links/{id}"
tags: ["links"]
---

# Update an existing link between transactions.

`PUT /v1/transaction-links/{id}`

Used to update a single existing link.

## Path parameters

- `id` string, required

## Headers

- `X-Trace-Id` string, uuid

## Request body

- TransactionLinkUpdate
  - `link_type_id` string, string — The link type ID to use. Use this field OR use the link_type_name field.
  - `link_type_name` string, string — The link type name to use. Use this field OR use the link_type_id field.
  - `inward_id` string, string — The inward transaction transaction_journal_id for the link. This becomes the 'is paid by' transaction of the set.
  - `outward_id` string, string — The outward transaction transaction_journal_id for the link. This becomes the 'pays for' transaction of the set.
  - `notes` string, string, nullable — Optional. Some notes. If you submit an empty string the current notes will be removed

## Response `200`

Updated link type stored, result in response

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `404` — Page not found
- `422` — Validation error. The body will have the exact details.
- `500` — Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop.md) · [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/firefly-iii/firefly-iii-api-develop/revisions/8a1f6472e04b/schema)
