Production Execution
Production execution turns an approved PLM style into work on the floor. A production order anchors the run; a cut plan breaks the order into cut jobs; mobile execution pushes the work to phones at cutting tables and sewing lines; and production lines, work centers, and workers model the resources that do it.The pieces
Flow
Creating and running a production order
Production Orders
Create a production order
The PLM style this order produces.
Total garments to produce, typically broken down by size in the order detail.
Target completion date in YYYY-MM-DD format.
Edits create a new version. Use
GET /production-orders/{order_id}/versions to audit how an order changed over its life — useful when a buyer revises quantities mid-run.Production Floor
The floor APIs turn a submitted order into executable work. Build a cut plan, then call prepare-mobile-execution to materialize cut jobs and sewing segments for devices.Prepare mobile execution
Generates the device-ready work set (cut jobs, sewing segments, stage statuses) for a submitted order.Cutting consumes fabric:
post-output on a cut job writes a stock issue against the fabric lot (see Warehouse & Inventory). Sewing post-output advances garments toward finished goods.Production Lines
toggle to activate or pause a line without deleting its configuration — handy for taking a line offline for maintenance or reassignment.
Factory: work centers and workers
The Factory tag models physical resources and the assignments that bind them to work.Stage statuses and mobile mutations
Stage statuses and mobile mutations
stage-statuses is an upsert endpoint that records where each unit of work sits in the cut/sew/finish pipeline. factory/mobile-mutations captures offline edits made on devices and replays them server-side, so a phone with a flaky connection never loses a scan.Mobile snapshots
Read-only aggregates that power the floor and worker mobile apps.- floor-snapshot — a whole-floor view: active orders, line load, and stage progress.
- worker-snapshot — what a single worker should do next and what they have completed today.