✦Developers

KERN ERP API — Production

Masters, products and styles, Buyer POs, purchase orders, GRNs, sales invoices, packing slips and stock.

Version 2026-10-09.1 · published 9 Oct 2026 · 105 APIs

Base URL https://kronex.codeverse.co/cedge

Download: OpenAPI (JSON) · Postman collection · Guides · Changelog

Production

Grouped by screen, as in the app. Scope for the whole module: erp.production.*:read or :write.

Production Orders

Access: erp.production.production_orders:read(or :write)

GET/public/v1/production/production-orders

List production orders (paged; status, orderType, buyerId, styleCode, delivery dates)

Scope erp.production.production_orders:read · the client's role needs view on Production Orders

Parameters
NameInTypeNotes
pagequeryinteger (int32)Page number, starting at 0.
sizequeryinteger (int32)Items per page.
statusquerystringOnly records with this status (see the record's status values).
orderTypequerystringOnly this order type.
buyerIdqueryinteger (int64)Only this buyer (id).
locationIdqueryinteger (int64)Only this location / factory (id).
styleProductIdqueryinteger (int64)Only this style (product id).
styleCodequerystringOnly this style code.
deliveryFromquerystring (date)Delivery date from (YYYY-MM-DD).
deliveryToquerystring (date)Delivery date up to (YYYY-MM-DD).
Response (200) — data
FieldTypeNotes
contentarray of object
idinteger (int64)
productionOrderNumberstring
orderTypestring
styleCodestring
styleNamestring
colorNamestring
seasonstring
buyerNamestring
locationNamestring
totalQuantityinteger (int32)
productionQuantityinteger (int32)
deliveryDatestring (date)
exFactoryDatestring (date)
workflowTemplateNamestring
statusstring
tnaStatusstring
createdAtstring (date-time)
poRaiseAvailableboolean
pageinteger (int32)
sizeinteger (int32)
totalElementsinteger (int64)
totalPagesinteger (int32)
lastboolean

Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — List production orders (paged; status, orderType, buyerId, styleCode, delivery dates) curl -X GET "https://kronex.codeverse.co/cedge/public/v1/production/production-orders?page=0&size=20" \ -H "Authorization: Bearer $KERN_API_KEY"
POST/public/v1/production/production-orders

Create a production order (DRAFT)

Scope erp.production.production_orders:write · the client's role needs create on Production Orders · send an Idempotency-Key

Parameters
NameInTypeNotes
Idempotency-Key *headerstringAny unique text up to 120 characters (e.g. a UUID). A retry with the same key and body returns the first answer instead of doing the work twice.
Request body
FieldTypeNotes
orderType *string
styleCodestring
styleNamestring
styleProductIdinteger (int64)
colorIdinteger (int64)
colorNamestring
colorCodestring
seasonstring
sampleStylestring
allowanceScopestring
allowanceUnitstring
totalAllowancenumber
buyerIdinteger (int64)
buyerNamestring
locationIdinteger (int64)
locationNamestring
deliveryDatestring (date)
exFactoryDatestring (date)
workflowTemplateIdinteger (int64)
workflowTemplateNamestring
remarksstring
linesarray of object
productIdinteger (int64)
colourstring
sizeCodestring
qtyinteger (int32)
allowancenumber
sourceBuyerPoNostring
displayOrderinteger (int32)
buyerPosarray of object
buyerPoIdinteger (int64)
buyerPoNumber *string
buyerPoDatestring (date)
quantityinteger (int32)
styleCodestring
remarksstring
Response (200) — data
FieldTypeNotes
idinteger (int64)
productionOrderNumberstring
orderTypestring
styleCodestring
styleNamestring
styleProductIdinteger (int64)
colorIdinteger (int64)
colorNamestring
colorCodestring
seasonstring
sampleStylestring
allowanceScopestring
allowanceUnitstring
totalAllowancenumber
productionQuantityinteger (int32)
buyerIdinteger (int64)
buyerNamestring
locationIdinteger (int64)
locationNamestring
totalQuantityinteger (int32)
deliveryDatestring (date)
exFactoryDatestring (date)
workflowTemplateIdinteger (int64)
workflowTemplateNamestring
assignedLineIdinteger (int64)
assignedLineNamestring
statusstring
tnaStatusstring
remarksstring
hasWorkOrderboolean
createdByinteger (int64)
createdAtstring (date-time)
updatedAtstring (date-time)
linesarray of object
idinteger (int64)
measurementPointIdinteger (int64)
pointNamestring
uomstring
specValuenumber
tolMinusnumber

…33 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 409, 413, 422, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Create a production order (DRAFT) curl -X POST "https://kronex.codeverse.co/cedge/public/v1/production/production-orders" \ -H "Authorization: Bearer $KERN_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ … }'
GET/public/v1/production/production-orders/{id}

Get one production order (lines, buyer POs, TnA)

Scope erp.production.production_orders:read · the client's role needs view on Production Orders

Parameters
NameInTypeNotes
id *pathinteger (int64)The record's id.
Response (200) — data
FieldTypeNotes
idinteger (int64)
productionOrderNumberstring
orderTypestring
styleCodestring
styleNamestring
styleProductIdinteger (int64)
colorIdinteger (int64)
colorNamestring
colorCodestring
seasonstring
sampleStylestring
allowanceScopestring
allowanceUnitstring
totalAllowancenumber
productionQuantityinteger (int32)
buyerIdinteger (int64)
buyerNamestring
locationIdinteger (int64)
locationNamestring
totalQuantityinteger (int32)
deliveryDatestring (date)
exFactoryDatestring (date)
workflowTemplateIdinteger (int64)
workflowTemplateNamestring
assignedLineIdinteger (int64)
assignedLineNamestring
statusstring
tnaStatusstring
remarksstring
hasWorkOrderboolean
createdByinteger (int64)
createdAtstring (date-time)
updatedAtstring (date-time)
linesarray of object
idinteger (int64)
measurementPointIdinteger (int64)
pointNamestring
uomstring
specValuenumber
tolMinusnumber

…33 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Get one production order (lines, buyer POs, TnA) curl -X GET "https://kronex.codeverse.co/cedge/public/v1/production/production-orders/{id}" \ -H "Authorization: Bearer $KERN_API_KEY"
PUT/public/v1/production/production-orders/{id}

Update a DRAFT production order

Scope erp.production.production_orders:write · the client's role needs edit on Production Orders · send an Idempotency-Key

Parameters
NameInTypeNotes
id *pathinteger (int64)The record's id.
Idempotency-Key *headerstringAny unique text up to 120 characters (e.g. a UUID). A retry with the same key and body returns the first answer instead of doing the work twice.
Request body
FieldTypeNotes
orderTypestring
styleCodestring
styleNamestring
styleProductIdinteger (int64)
colorIdinteger (int64)
colorNamestring
colorCodestring
seasonstring
sampleStylestring
allowanceScopestring
allowanceUnitstring
totalAllowancenumber
buyerIdinteger (int64)
buyerNamestring
locationIdinteger (int64)
locationNamestring
deliveryDatestring (date)
exFactoryDatestring (date)
workflowTemplateIdinteger (int64)
workflowTemplateNamestring
remarksstring
linesarray of object
productIdinteger (int64)
colourstring
sizeCodestring
qtyinteger (int32)
allowancenumber
sourceBuyerPoNostring
displayOrderinteger (int32)
Response (200) — data
FieldTypeNotes
idinteger (int64)
productionOrderNumberstring
orderTypestring
styleCodestring
styleNamestring
styleProductIdinteger (int64)
colorIdinteger (int64)
colorNamestring
colorCodestring
seasonstring
sampleStylestring
allowanceScopestring
allowanceUnitstring
totalAllowancenumber
productionQuantityinteger (int32)
buyerIdinteger (int64)
buyerNamestring
locationIdinteger (int64)
locationNamestring
totalQuantityinteger (int32)
deliveryDatestring (date)
exFactoryDatestring (date)
workflowTemplateIdinteger (int64)
workflowTemplateNamestring
assignedLineIdinteger (int64)
assignedLineNamestring
statusstring
tnaStatusstring
remarksstring
hasWorkOrderboolean
createdByinteger (int64)
createdAtstring (date-time)
updatedAtstring (date-time)
linesarray of object
idinteger (int64)
measurementPointIdinteger (int64)
pointNamestring
uomstring
specValuenumber
tolMinusnumber

…33 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 409, 413, 422, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Update a DRAFT production order curl -X PUT "https://kronex.codeverse.co/cedge/public/v1/production/production-orders/{id}" \ -H "Authorization: Bearer $KERN_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ … }'
GET/public/v1/production/production-orders/{id}/traceability

Full traceability of a production order: lines, buyer POs, TnA steps

Scope erp.production.production_orders:read · the client's role needs view on Production Orders

Parameters
NameInTypeNotes
id *pathinteger (int64)The record's id.
Response (200) — data
FieldTypeNotes
idinteger (int64)
productionOrderNumberstring
orderTypestring
styleCodestring
styleNamestring
styleProductIdinteger (int64)
colorIdinteger (int64)
colorNamestring
colorCodestring
seasonstring
sampleStylestring
allowanceScopestring
allowanceUnitstring
totalAllowancenumber
productionQuantityinteger (int32)
buyerIdinteger (int64)
buyerNamestring
locationIdinteger (int64)
locationNamestring
totalQuantityinteger (int32)
deliveryDatestring (date)
exFactoryDatestring (date)
workflowTemplateIdinteger (int64)
workflowTemplateNamestring
assignedLineIdinteger (int64)
assignedLineNamestring
statusstring
tnaStatusstring
remarksstring
hasWorkOrderboolean
createdByinteger (int64)
createdAtstring (date-time)
updatedAtstring (date-time)
linesarray of object
idinteger (int64)
measurementPointIdinteger (int64)
pointNamestring
uomstring
specValuenumber
tolMinusnumber

…33 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Full traceability of a production order: lines, buyer POs, TnA steps curl -X GET "https://kronex.codeverse.co/cedge/public/v1/production/production-orders/{id}/traceability" \ -H "Authorization: Bearer $KERN_API_KEY"
PATCH/public/v1/production/production-orders/{id}/activate

Activate a production order (DRAFT → ACTIVE)

Scope erp.production.production_orders:write · the client's role needs edit on Production Orders · send an Idempotency-Key

Parameters
NameInTypeNotes
id *pathinteger (int64)The record's id.
Idempotency-Key *headerstringAny unique text up to 120 characters (e.g. a UUID). A retry with the same key and body returns the first answer instead of doing the work twice.
Response (200) — data
FieldTypeNotes
idinteger (int64)
productionOrderNumberstring
orderTypestring
styleCodestring
styleNamestring
styleProductIdinteger (int64)
colorIdinteger (int64)
colorNamestring
colorCodestring
seasonstring
sampleStylestring
allowanceScopestring
allowanceUnitstring
totalAllowancenumber
productionQuantityinteger (int32)
buyerIdinteger (int64)
buyerNamestring
locationIdinteger (int64)
locationNamestring
totalQuantityinteger (int32)
deliveryDatestring (date)
exFactoryDatestring (date)
workflowTemplateIdinteger (int64)
workflowTemplateNamestring
assignedLineIdinteger (int64)
assignedLineNamestring
statusstring
tnaStatusstring
remarksstring
hasWorkOrderboolean
createdByinteger (int64)
createdAtstring (date-time)
updatedAtstring (date-time)
linesarray of object
idinteger (int64)
measurementPointIdinteger (int64)
pointNamestring
uomstring
specValuenumber
tolMinusnumber

…33 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 409, 413, 422, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Activate a production order (DRAFT → ACTIVE) curl -X PATCH "https://kronex.codeverse.co/cedge/public/v1/production/production-orders/{id}/activate" \ -H "Authorization: Bearer $KERN_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json"
PATCH/public/v1/production/production-orders/{id}/cancel

Cancel a production order (DRAFT or ACTIVE)

Scope erp.production.production_orders:write · the client's role needs edit on Production Orders · send an Idempotency-Key

Parameters
NameInTypeNotes
id *pathinteger (int64)The record's id.
Idempotency-Key *headerstringAny unique text up to 120 characters (e.g. a UUID). A retry with the same key and body returns the first answer instead of doing the work twice.
Request body
FieldTypeNotes
reason *string
Response (200) — data

Returns object in data.

Errors: 400, 401, 403, 404, 405, 409, 413, 422, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Cancel a production order (DRAFT or ACTIVE) curl -X PATCH "https://kronex.codeverse.co/cedge/public/v1/production/production-orders/{id}/cancel" \ -H "Authorization: Bearer $KERN_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ … }'

Work Orders

Access: erp.production.work_orders:read(or :write)

GET/public/v1/production/work-orders

List work orders (paged; status, search, dates, styleProductId)

Scope erp.production.work_orders:read · the client's role needs view on Work Orders

Parameters
NameInTypeNotes
pagequeryinteger (int32)Page number, starting at 0.
sizequeryinteger (int32)Items per page.
sortByquerystringField to sort by.
sortDirquerystringSort direction: asc or desc.
statusquerystringOnly records with this status (see the record's status values).
searchquerystringSearch text (part of a name, number or code; not case-sensitive).
dateFromquerystring (date)From this date (YYYY-MM-DD), inclusive.
dateToquerystring (date)Up to this date (YYYY-MM-DD), inclusive.
styleProductIdqueryinteger (int64)Only this style (product id).
jobWorkquerybooleantrue: only work orders with job work (outside processing).
Response (200) — data
FieldTypeNotes
contentarray of object
idinteger (int64)
workOrderNumberstring
productionOrderNumberstring
productionOrderCountinteger (int32)
styleProductIdinteger (int64)
productNamestring
styleNamestring
colorNamestring
seasonstring
brandNamestring
workflowNamestring
woDatestring (date)
deliveryDatestring (date)
jobWorkboolean
statusstring
overdueboolean
totalQtyinteger (int32)
pageinteger (int32)
sizeinteger (int32)
totalElementsinteger (int64)
totalPagesinteger (int32)
lastboolean

Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — List work orders (paged; status, search, dates, styleProductId) curl -X GET "https://kronex.codeverse.co/cedge/public/v1/production/work-orders?page=0&size=20" \ -H "Authorization: Bearer $KERN_API_KEY"
POST/public/v1/production/work-orders

Create a work order from ACTIVE production orders of one style + colour (issue=true issues it at once)

Scope erp.production.work_orders:write · the client's role needs create on Work Orders · send an Idempotency-Key

Parameters
NameInTypeNotes
Idempotency-Key *headerstringAny unique text up to 120 characters (e.g. a UUID). A retry with the same key and body returns the first answer instead of doing the work twice.
Request body
FieldTypeNotes
productionOrderIds *array of integer (int64)
woDatestring (date)
deliveryDatestring (date)
workflowNamestring
workflowTemplateIdinteger (int64)
jobWorkboolean
jobWorkVendorIdinteger (int64)
jobWorkVendorNamestring
jobWorkPricenumber
issueboolean
sizesarray of object
sizeCodestring
sizeNamestring
orderedQtyinteger (int32)
woQtyinteger (int32)
articleNostring
skuNostring
processesarray of object
idinteger (int64)
seqinteger (int32)
processNamestring
statusstring
vendorIdinteger (int64)
vendorNamestring
pricenumber
removableboolean
editLockedboolean
liveStatusstring
Response (200) — data
FieldTypeNotes
idinteger (int64)
workOrderNumberstring
styleProductIdinteger (int64)
styleCodestring
styleNamestring
colorIdinteger (int64)
colorNamestring
colorCodestring
seasonstring
brandNamestring
productNostring
descriptionstring
workflowNamestring
workflowTemplateIdinteger (int64)
woDatestring (date)
deliveryDatestring (date)
totalQtyinteger (int32)
jobWorkboolean
jobWorkVendorIdinteger (int64)
jobWorkVendorNamestring
jobWorkPricenumber
statusstring
overdueboolean
progressPctinteger (int32)
createdAtstring (date-time)
styleImageUrlstring
createdByNamestring
styleCreatedByNamestring
productionOrderCreatedByNamestring
productionOrdersarray of object
idinteger (int64)
productionOrderIdinteger (int64)
productionOrderNumberstring
qtyinteger (int32)
buyerPosarray of object
buyerPoIdinteger (int64)
buyerPoNumberstring
buyerPoDatestring (date)
buyerNamestring
quantityinteger (int32)

…45 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 409, 413, 422, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Create a work order from ACTIVE production orders of one style + colour (issue=true issues it at once) curl -X POST "https://kronex.codeverse.co/cedge/public/v1/production/work-orders" \ -H "Authorization: Bearer $KERN_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ … }'
GET/public/v1/production/work-orders/{id}

Get one work order (production orders, buyer POs, sizes, BOM, processes)

Scope erp.production.work_orders:read · the client's role needs view on Work Orders

Parameters
NameInTypeNotes
id *pathinteger (int64)The record's id.
Response (200) — data
FieldTypeNotes
idinteger (int64)
workOrderNumberstring
styleProductIdinteger (int64)
styleCodestring
styleNamestring
colorIdinteger (int64)
colorNamestring
colorCodestring
seasonstring
brandNamestring
productNostring
descriptionstring
workflowNamestring
workflowTemplateIdinteger (int64)
woDatestring (date)
deliveryDatestring (date)
totalQtyinteger (int32)
jobWorkboolean
jobWorkVendorIdinteger (int64)
jobWorkVendorNamestring
jobWorkPricenumber
statusstring
overdueboolean
progressPctinteger (int32)
createdAtstring (date-time)
styleImageUrlstring
createdByNamestring
styleCreatedByNamestring
productionOrderCreatedByNamestring
productionOrdersarray of object
idinteger (int64)
productionOrderIdinteger (int64)
productionOrderNumberstring
qtyinteger (int32)
buyerPosarray of object
buyerPoIdinteger (int64)
buyerPoNumberstring
buyerPoDatestring (date)
buyerNamestring
quantityinteger (int32)

…45 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Get one work order (production orders, buyer POs, sizes, BOM, processes) curl -X GET "https://kronex.codeverse.co/cedge/public/v1/production/work-orders/{id}" \ -H "Authorization: Bearer $KERN_API_KEY"
PATCH/public/v1/production/work-orders/{id}/issue

Issue a DRAFT work order (→ ACTIVE)

Scope erp.production.work_orders:write · the client's role needs edit on Work Orders · send an Idempotency-Key

Parameters
NameInTypeNotes
id *pathinteger (int64)The record's id.
Idempotency-Key *headerstringAny unique text up to 120 characters (e.g. a UUID). A retry with the same key and body returns the first answer instead of doing the work twice.
Response (200) — data
FieldTypeNotes
idinteger (int64)
workOrderNumberstring
styleProductIdinteger (int64)
styleCodestring
styleNamestring
colorIdinteger (int64)
colorNamestring
colorCodestring
seasonstring
brandNamestring
productNostring
descriptionstring
workflowNamestring
workflowTemplateIdinteger (int64)
woDatestring (date)
deliveryDatestring (date)
totalQtyinteger (int32)
jobWorkboolean
jobWorkVendorIdinteger (int64)
jobWorkVendorNamestring
jobWorkPricenumber
statusstring
overdueboolean
progressPctinteger (int32)
createdAtstring (date-time)
styleImageUrlstring
createdByNamestring
styleCreatedByNamestring
productionOrderCreatedByNamestring
productionOrdersarray of object
idinteger (int64)
productionOrderIdinteger (int64)
productionOrderNumberstring
qtyinteger (int32)
buyerPosarray of object
buyerPoIdinteger (int64)
buyerPoNumberstring
buyerPoDatestring (date)
buyerNamestring
quantityinteger (int32)

…45 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 409, 413, 422, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Issue a DRAFT work order (→ ACTIVE) curl -X PATCH "https://kronex.codeverse.co/cedge/public/v1/production/work-orders/{id}/issue" \ -H "Authorization: Bearer $KERN_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json"
PATCH/public/v1/production/work-orders/{id}/cancel

Cancel a work order

Scope erp.production.work_orders:write · the client's role needs edit on Work Orders · send an Idempotency-Key

Parameters
NameInTypeNotes
id *pathinteger (int64)The record's id.
Idempotency-Key *headerstringAny unique text up to 120 characters (e.g. a UUID). A retry with the same key and body returns the first answer instead of doing the work twice.
Response (200) — data
FieldTypeNotes
idinteger (int64)
workOrderNumberstring
styleProductIdinteger (int64)
styleCodestring
styleNamestring
colorIdinteger (int64)
colorNamestring
colorCodestring
seasonstring
brandNamestring
productNostring
descriptionstring
workflowNamestring
workflowTemplateIdinteger (int64)
woDatestring (date)
deliveryDatestring (date)
totalQtyinteger (int32)
jobWorkboolean
jobWorkVendorIdinteger (int64)
jobWorkVendorNamestring
jobWorkPricenumber
statusstring
overdueboolean
progressPctinteger (int32)
createdAtstring (date-time)
styleImageUrlstring
createdByNamestring
styleCreatedByNamestring
productionOrderCreatedByNamestring
productionOrdersarray of object
idinteger (int64)
productionOrderIdinteger (int64)
productionOrderNumberstring
qtyinteger (int32)
buyerPosarray of object
buyerPoIdinteger (int64)
buyerPoNumberstring
buyerPoDatestring (date)
buyerNamestring
quantityinteger (int32)

…45 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 409, 413, 422, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Cancel a work order curl -X PATCH "https://kronex.codeverse.co/cedge/public/v1/production/work-orders/{id}/cancel" \ -H "Authorization: Bearer $KERN_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json"

Production Runs

Access: erp.production.runs:read(or :write)

GET/public/v1/production/runs

List production runs (paged; status, search)

Scope erp.production.runs:read · the client's role needs view on Production Runs

Parameters
NameInTypeNotes
pagequeryinteger (int32)Page number, starting at 0.
sizequeryinteger (int32)Items per page.
statusquerystringOnly records with this status (see the record's status values).
searchquerystringSearch text (part of a name, number or code; not case-sensitive).
Response (200) — data
FieldTypeNotes
contentarray of object
idinteger (int64)
qcNostring
qcDatestring (date)
qcPersonstring
processstring
dcNostring
vendorNamestring
locationNamestring
statusstring
pageinteger (int32)
sizeinteger (int32)
totalElementsinteger (int64)
totalPagesinteger (int32)
lastboolean

Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — List production runs (paged; status, search) curl -X GET "https://kronex.codeverse.co/cedge/public/v1/production/runs?page=0&size=20" \ -H "Authorization: Bearer $KERN_API_KEY"
GET/public/v1/production/runs/{id}

Get one production run (stages, per-size good/loss, daily entries)

Scope erp.production.runs:read · the client's role needs view on Production Runs

Parameters
NameInTypeNotes
id *pathinteger (int64)The record's id.
Response (200) — data
FieldTypeNotes
idinteger (int64)
qcNostring
qcDatestring (date)
qcPersonstring
processstring
locationIdinteger (int64)
locationNamestring
statusstring
inspectionLinesarray of object
idinteger (int64)
grnLineIdinteger (int64)
dcNostring
fabricProgramNostring
itemTypestring
itemNostring
rollNostring
gsmnumber
widthnumber
weightnumber
rollQtynumber
acceptedQtynumber
qcResultstring
stockInwardLinesarray of object
idinteger (int64)
grnLineIdinteger (int64)
dcNostring
fabricProgramNostring
itemTypestring
fabricIdinteger (int64)
itemNamestring
inwardFabricColorstring
uomIdinteger (int64)
uomNamestring
lotNostring
widthnumber
gsmnumber
weightnumber
locationIdinteger (int64)
locationNamestring
rollNostring

…5 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Get one production run (stages, per-size good/loss, daily entries) curl -X GET "https://kronex.codeverse.co/cedge/public/v1/production/runs/{id}" \ -H "Authorization: Bearer $KERN_API_KEY"
GET/public/v1/production/runs/stages/{runStageId}/available-input

Available input per size for a stage (from upstream good output)

Scope erp.production.runs:read · the client's role needs view on Production Runs

Parameters
NameInTypeNotes
runStageId *pathinteger (int64)The record's id.
Response (200) — data
FieldTypeNotes
runStageIdinteger (int64)
trackModestring
sizesarray of object
sizeCodestring
sizeNamestring
availableinteger (int32)

Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Available input per size for a stage (from upstream good output) curl -X GET "https://kronex.codeverse.co/cedge/public/v1/production/runs/stages/{runStageId}/available-input" \ -H "Authorization: Bearer $KERN_API_KEY"
POST/public/v1/production/runs/stages/{runStageId}/daily-entries

Record a day's output / seconds / damage / reject for a stage

Scope erp.production.runs:write · the client's role needs edit on Production Runs · send an Idempotency-Key

Parameters
NameInTypeNotes
runStageId *pathinteger (int64)The record's id.
Idempotency-Key *headerstringAny unique text up to 120 characters (e.g. a UUID). A retry with the same key and body returns the first answer instead of doing the work twice.
Request body
FieldTypeNotes
entryDate *string (date)
operatorEmployeeIdinteger (int64)
operatorNamestring
notesstring
overtimeboolean
customFieldValuesobject
sizesarray of object
sizeCodestring
inputQtyinteger (int32)
outputQtyinteger (int32)
secondsQtyinteger (int32)
damageQtyinteger (int32)
rejectQtyinteger (int32)
lossBearerstring
lossBearerRefIdinteger (int64)
raiseDebitNoteboolean
vendorIdinteger (int64)
vendorNamestring
unitPricenumber
gstPctnumber
receiveDatestring (date)
receiveLocationIdinteger (int64)
vehicleNumberstring
challanNostring
transporterNamestring
personNamestring
fabricLinesarray of object
fabricIdinteger (int64)
fabricLaysCountinteger (int32)
fabricUsednumber
fabricWastagenumber
fabricQtyLinesarray of object
fabricIdinteger (int64)
qtynumber
uomIdinteger (int64)
Response (200) — data
FieldTypeNotes
idinteger (int64)
qcNostring
qcDatestring (date)
qcPersonstring
processstring
locationIdinteger (int64)
locationNamestring
statusstring
inspectionLinesarray of object
idinteger (int64)
grnLineIdinteger (int64)
dcNostring
fabricProgramNostring
itemTypestring
itemNostring
rollNostring
gsmnumber
widthnumber
weightnumber
rollQtynumber
acceptedQtynumber
qcResultstring
stockInwardLinesarray of object
idinteger (int64)
grnLineIdinteger (int64)
dcNostring
fabricProgramNostring
itemTypestring
fabricIdinteger (int64)
itemNamestring
inwardFabricColorstring
uomIdinteger (int64)
uomNamestring
lotNostring
widthnumber
gsmnumber
weightnumber
locationIdinteger (int64)
locationNamestring
rollNostring

…5 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 409, 413, 422, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Record a day's output / seconds / damage / reject for a stage curl -X POST "https://kronex.codeverse.co/cedge/public/v1/production/runs/stages/{runStageId}/daily-entries" \ -H "Authorization: Bearer $KERN_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ … }'
PATCH/public/v1/production/runs/{id}/complete

Complete a production run

Scope erp.production.runs:write · the client's role needs edit on Production Runs · send an Idempotency-Key

Parameters
NameInTypeNotes
id *pathinteger (int64)The record's id.
Idempotency-Key *headerstringAny unique text up to 120 characters (e.g. a UUID). A retry with the same key and body returns the first answer instead of doing the work twice.
Response (200) — data
FieldTypeNotes
idinteger (int64)
qcNostring
qcDatestring (date)
qcPersonstring
processstring
locationIdinteger (int64)
locationNamestring
statusstring
inspectionLinesarray of object
idinteger (int64)
grnLineIdinteger (int64)
dcNostring
fabricProgramNostring
itemTypestring
itemNostring
rollNostring
gsmnumber
widthnumber
weightnumber
rollQtynumber
acceptedQtynumber
qcResultstring
stockInwardLinesarray of object
idinteger (int64)
grnLineIdinteger (int64)
dcNostring
fabricProgramNostring
itemTypestring
fabricIdinteger (int64)
itemNamestring
inwardFabricColorstring
uomIdinteger (int64)
uomNamestring
lotNostring
widthnumber
gsmnumber
weightnumber
locationIdinteger (int64)
locationNamestring
rollNostring

…5 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 409, 413, 422, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Complete a production run curl -X PATCH "https://kronex.codeverse.co/cedge/public/v1/production/runs/{id}/complete" \ -H "Authorization: Bearer $KERN_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json"