---
title: "Update transaction Link"
method: PUT
path: "/api/v1/transactions/{id}/part/{partId}"
tags: ["Data v1.Transaction", "ENTERPRISE"]
deprecated: true
---

# Update transaction Link

`PUT /api/v1/transactions/{id}/part/{partId}`

> **Deprecated.**

(DEPRECATED) Updates an transaction part amount and it's counterpart amount.

## Path parameters

- `id` string, required
- `partId` string, required

## Request body

- UpdateTransactionLinkRequest — Object holding the required amount for transaction linking
  - `amount` number, double — The amount of the transaction part. Must be same sign as the transaction. If not specified the common disposable amount will be used.

## Response `200`

The transaction part and counter part were successfully updated and returned.

- LinkTransactionsResponse
  - `counterpartTransaction` Data20v1Transaction, required — unresolved $ref
  - `transaction` Data20v1Transaction, required — unresolved $ref

## Other responses

- `400` — The transaction or part id were invalid.
- `404` — The transaction or the transaction part was not found.
- `412` — The transactions had the same signum, the part amount had a signum different from the transaction or the part amount is bigger than the dispensable amount.
- `500` — The transaction part failed to update.

---

[API](https://skmtc.net/tink/apis/tink-api.md) · [All operations](https://skmtc.net/tink/apis/tink-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tink/tink-api/revisions/23d8982b533d/schema)
