Edit fields of a fiber production process
Changed onEdits the sent fields of a production process the caller's company owns — name, productCategoryId, facilityProcessId, facilityWastageFactorPercentage (0 to 99.99) and featuredImageFileId (null clears it). At least one is required; a key left out keeps its stored value (legacy also kept it for a 0 wastage or a null image). The wastage band is re-read for the resulting 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). A changed 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 200 and wrote nothing for another company's global template).
Request
- Base URLhttps://api.retraced.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.retraced.com/api/admin/fiber/production-processes/{id}
- Authnone declared
Path parameters
Request body
Response
Default Response
Changes
- info
endpoint added
- info