Skip to main content

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

style_id
string
required
The PLM style this order produces.
quantity
integer
required
Total garments to produce, typically broken down by size in the order detail.
due_date
string
Target completion date in YYYY-MM-DD format.
Response (201):
A new order starts as draft. Call submit to lock it for the floor, then post-completion once production finishes to recognize finished-goods inventory and COGS in Finindex.
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.
Response (200):
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

Use 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 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.
See the API Reference tab for the full endpoint list across the Production Orders, Production Floor, Production Lines, Factory, and Mobile tags.