---
title: "Create a fiber production process"
method: POST
path: "/api/admin/fiber/production-processes"
tags: ["Administration/Fiber"]
---

# Create a fiber production process

`POST /api/admin/fiber/production-processes`

## 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`
- Auth: none declared

Creates a global production-process template owned by the caller's company from `name`, `productCategoryId`, `facilityProcessId` and `facilityWastageFactorPercentage` (all required; 0 to 99.99 — legacy answered 500 above the column's 99.99) and an optional `featuredImageFileId`. The wastage band is copied from the production factor of the category and facility process, falling back to the category's parent: no factor answers 400 `missing_production_factor`, a factor without both bounds 400 `missing_wastage_factor_range`, and a wastage below the minimum 409 `invalid_wastage_factor`; the maximum is not checked, as in legacy. An unknown `featuredImageFileId` stores no image; a found one is moved to the public bucket. Responds 201 with the process in the `{ data, metadata }` envelope (legacy answered the bare record, with the full category as `productCategoryType`).

## Request body

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

## Response `201`

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
- `409`: Default Response

## Changes

> 108 revisions in range; 2 not diffed.

- **2026-10-16** `37ba928e7208`: 1 info
  - endpoint added

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