E091: Delete BOM
DELETE /api/boms/:id
Removes the BOM for an output SKU. :id is the output SKU id. Triggered from BOM Detail. Existing WOs that reference this output SKU keep their frozen snapshot and are unaffected.
Authentication
Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Member.
Request
No body. Existing WOs keep their recipe snapshot and are unaffected.
Response — 200 OK
{ "deletedId": "uuid" }
Echo of the output SKU id whose BOM was deleted.
Errors
| HTTP | code | Condition |
|---|---|---|
| 404 | not_found | Output SKU has no BOM. |
Workflow
Calls W091 Delete BOM.