---
title: "update transaction"
method: PUT
path: "/transactions/{transactionId}"
tags: ["resource-api"]
---

# update transaction

`PUT /transactions/{transactionId}`

update transaction action

## Parameters

- `./parameters.yaml#/components/parameters/transactionId` — unresolved $ref

## Request body

- TransactionResource — unresolved $ref

## Response `200`

successful operation

- TransactionResource — unresolved $ref

## Other responses

- `400` — invalid transaction, some data was sent in incorrect format.
- `404` — transaction not found
- `500` — problem updating a transaction

## Changes

- **2023-05-23** `702c86b56f79` — 1 breaking, 6 info
  - removed the success response with the status `204`
  - api tag `resource-api` added
  - api tag `api` removed
  - added the media type `text/yaml` to the request body
  - …3 more
- **2023-05-05** `7c46d0f458c1` — 2 breaking, 5 info
  - removed the media type `text/yaml` from the request body
  - removed the success response with the status `200`
  - api tag `api` added
  - api tag `resource-api` removed
  - …3 more
- **2023-05-04** `0b8db1ad68a5` — 1 breaking, 6 info
  - removed the success response with the status `204`
  - api tag `resource-api` added
  - api tag `api` removed
  - added the media type `text/yaml` to the request body
  - …3 more
- **2023-04-14** `5dadc65a3c42` — 1 warning
  - deleted the `path` request parameter `transactionId`
- **2022-11-17** `9ee6203c38fa` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/kubeshop/apis/tracetest/changes/transactions/:transactionId/put.md)

---

[API](https://skmtc.dev/kubeshop/apis/tracetest.md) · [All operations](https://skmtc.dev/kubeshop/apis/tracetest/llms.txt) · [OpenAPI document](https://skmtc.dev/kubeshop/apis/tracetest/revisions/91036c61f8d9?raw)
