---
title: "Update Weld"
method: PATCH
path: "/api/v1/welds/{weld_id}"
tags: ["welds"]
---

# Update Weld

`PATCH /api/v1/welds/{weld_id}`

Patch a weld's type/size/process/side/notes. Re-applies enum +
editable-status validation.

## Path parameters

- `weld_id` string, uuid, required

## Request body

- WeldUpdate — Payload for ``PATCH /welds/{weld_id}``. All fields optional.
  - `weld_type` string, nullable
  - `size_mm` number, nullable
  - `length_mm` number, nullable
  - `process` string, nullable
  - `side` string, nullable
  - `all_around` boolean, nullable
  - `notes` string, nullable

## Response `200`

Successful Response

- WeldRead — Flattened weld row — built by the service from an OutcomeEvent. Not an ORM passthrough: the source row is an ``OutcomeEvent`` with ``data = {weld_type, size_mm, ...}``; this projection flattens that payload into first-class fields and adds the computed ``is_process_mismatch`` flag.
  - `id` string, uuid, required
  - `part_id` string, uuid, required
  - `cad_file_version_id` string, uuid, nullable, required
  - `edge_id` string, required
  - `weld_type` string, required
  - `size_mm` number, required
  - `length_mm` number, nullable, required
  - `process` string, nullable, required
  - `side` string, required
  - `all_around` boolean, required
  - `notes` string, nullable, required
  - `label` string, required
  - `state` string, required
  - `source` string, required
  - `created_by` string, uuid, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable, required
  - `is_process_mismatch` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/prototyping/apis/prototyping-io-api.md) · [All operations](https://skmtc.dev/prototyping/apis/prototyping-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prototyping/prototyping-io-api/revisions/f4a0079fbb57/schema)
