Skip to main content

Product Library

The Product Library is the reusable catalog behind every order. A style carries its tech packs and photos; materials define what it’s made of; the BOM (bill of materials) and BOL (bill of labor) list quantities and operations; and SKUs enumerate the color/size variants. Together they feed costing — nothing is priced without a BOM.

The flow

Styles

A style is the master record for a garment design. It anchors the tech packs, BOM, and SKUs.

Create a style

name
string
required
Style name.
ref
string
Style reference code. Auto-generated if omitted.
Response (201):
Look up by reference with GET /api/v1/styles/by-ref/{ref}.

Styles Files — tech packs & photos

Each style carries its construction documents and reference imagery.

Materials

Materials are the fabrics, trims, and accessories the BOM consumes. They are versioned and run through a draft → verify → submit workflow.
Get the next reference code with GET /api/v1/materials/next-ref. Material versions and verification run through POST /materials/{document_id}/verify and POST /materials/{document_id}/version.

BOM — Bill of Materials

The BOM lists every material a style consumes, with quantities and wastage. BOMs are versioned and gated by an approval workflow before they can drive costing or material requests.

Add and assign line items

Line items live on a BOM version. Each line item is then linked to a concrete material.
material_id
string
required
The material to assign to this BOM line item.

Versioning & approval

GET /api/v1/bom/{bom_id}/usage shows which orders and cost sheets reference a BOM — check it before withdrawing or revising an approved BOM.

BOL — Bill of Labor

The BOL is the labor counterpart to the BOM: it lists the sewing operations and their times. Like the BOM, it is versioned and approved, and it can estimate labor cost directly.
POST /bol/{bol_id}/estimate-labor produces the labor figure that flows into the cost sheet — see Labor Cost in the Order Lifecycle page.

SKUs

SKUs enumerate the color/size variants of a style (and of materials). They are typically bulk-generated from the style’s option matrix rather than entered by hand.

Bulk-generate style SKUs

Response (201):

SKU Management

A separate SKU management surface handles label generation:
See the API Reference tab for the full endpoint list.

Feeds into

Order Lifecycle

Approved BOM/BOL drive costing.

Procurement

BOM demand drives material requests.