Manufacturing
This section covers Bill of Materials (BOM) and Assembly Operations APIs. It includes creating BOMs, adding raw materials, creating assembly operations, and processing assemblies to adjust stock.
Create Bill of Materials (BOM)
Create a new Bill of Materials (BOM) record by linking a finished product to a recipe shell. The BOM defines which raw materials are needed to manufacture the finished product.
Create Bill of Materials (BOM) › Request Body
final_productUUID of the finished product (must have item_type = 2)
Create Bill of Materials (BOM) › Responses
BOM successfully created
Add Raw Material to BOM
Add a raw material (component) to an existing Bill of Materials (BOM). The raw product must have item_type = 1 (Raw Material).
Add Raw Material to BOM › Request Body
bomUUID of the BOM
raw_productUUID of the raw material product
quantityQuantity of raw material required
Add Raw Material to BOM › Responses
Raw material successfully added to BOM
Create Assembly Operation
Create an assembly operation (manufacturing order). This reserves raw materials and prepares a finished product for production. Requires BOM ID and desired production quantity.
Headers required:
X-Branch(UUID of the branch)X-Workstation(UUID of the workstation)
Headers
X-BranchBranch UUID
X-WorkstationWorkstation UUID
Create Assembly Operation › Request Body
bomUUID of the BOM
quantityHow many finished units to produce
Create Assembly Operation › Responses
Assembly operation created
Process Assembly Operation
Process an existing assembly operation (manufacturing order). This consumes the required raw materials and increases the stock of the finished product.
Headers required:
X-Branch(UUID of the branch)X-Workstation(UUID of the workstation)
path Parameters
operation_idUUID of the Assembly Operation
Headers
X-BranchBranch UUID
X-WorkstationWorkstation UUID
Process Assembly Operation › Responses
BOM processed successfully

