---
title: "Edit a fiber production process"
method: PUT
path: "/api/admin/fiber/production-processes/{id}"
tags: ["Administration/Fiber"]
---

# Edit a fiber production process

`PUT /api/admin/fiber/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/fiber/production-processes/{id}`
- Auth: none declared

Replaces `name`, `productCategoryId`, `facilityProcessId` and `facilityWastageFactorPercentage` (all required; 0 to 99.99) of a production process the caller's company owns. `featuredImageFileId` left out keeps the stored image and `null` clears it; legacy cleared it whenever the key was absent. The wastage band is re-read for the category and facility process, falling back to the category's parent: a wastage below its minimum answers 409 `invalid_wastage_factor`, a changed pair without a production factor 400 `missing_production_factor`, and an unchanged pair whose factor is gone keeps its stored band (legacy wiped it). The facility process is now stored (legacy dropped it). Responds with the process in the `{ data, metadata }` envelope (legacy answered the bare record). 404 `not_found` for an unknown id or another company's process (legacy answered 500 for another company's).

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string, required
  - `featuredImageFileId` string, nullable
  - `productCategoryId` string, required
  - `facilityWastageFactorPercentage` number, required
  - `facilityProcessId` string, required

## 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
    - `isGlobal` number, nullable, required
    - `facilityProcessId` string, nullable, required
    - `productCategoryId` string, nullable, required
    - `productCategoryName` string, nullable, required
    - `facilityWastageFactorPercentage` number, nullable, required
    - `minWastageFactorRangePercentage` number, nullable, required
    - `maxWastageFactorRangePercentage` number, nullable, required
    - `featuredImageFileId` string, nullable, required
    - `featuredImageFileUrl` string, nullable, required
    - `originalFeaturedImageFileUrl` string, nullable, required
    - `featuredImageFileContentType` string, nullable, required
    - `featuredImageFileType` string, nullable, required
    - `updatedAt` string, date-time, nullable, required
    - `updatedByUserName` string, nullable, required
    - `updatedByCompanyName` string, nullable, required

## Other responses

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

## Changes

> 108 revisions in range; 2 not diffed.

- **2026-10-17** `da033c4e6365`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/retraced/apis/api-reference/changes/api/admin/fiber/production-processes/:id/put.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)
