---
title: "PATCH /api/admin/production-processes/{id}"
method: PATCH
path: "/api/admin/production-processes/{id}"
tags: ["Administration/Production Processes"]
---

# PATCH /api/admin/production-processes/{id}

`PATCH /api/admin/production-processes/{id}`

## Request

- Base URL: `https://api.retraced.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.retraced.com/api/admin/production-processes/{id}`
- Auth: none declared

Updates the colours, depth level and translations of a production process. Each field is optional; one left out or sent as `null` keeps its stored value, and `translations` (en/es/de/fr) replaces the stored ones when sent. `name` and `description` are not writable and, like any other key, are ignored. Responds with the record as `GET /:id` returns it. 404 `production_process_not_found` for an unknown id.

## Path parameters

- `id` string, required

## Request body

- object
  - `color` string, nullable
  - `iconColor` string, nullable
  - `depthLevel` union
    - integer
    - string
  - `translations` object, nullable
    - `en` object
      - `name` string, required
      - `description` string
    - `es` object
      - `name` string, required
      - `description` string
    - `de` object
      - `name` string, required
      - `description` string
    - `fr` object
      - `name` string, required
      - `description` string

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required: True when the request succeeded.
  - `data` object, required
    - `id` string, required
    - `name` string, required
    - `description` string, nullable, required
    - `color` string, nullable, required
    - `iconColor` string, nullable, required
    - `depthLevel` number, nullable, required
    - `translations` object, required
    - `createdAt` string, date-time, nullable, required
    - `createdByUserId` string, nullable, required
    - `updatedAt` string, date-time, nullable, required
    - `updatedByUserId` string, nullable, required
    - `updatedByUserName` string, nullable, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response

## Changes

> 108 revisions in range; 2 not diffed.

- **2026-10-14** `9ab01fbac88c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/retraced/apis/api-reference/changes/api/admin/production-processes/:id/patch.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) - [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/retraced/apis/api-reference/revisions/83309c4abd20?raw)
