✦Developers

KERN ERP API — Yarn to Fabric Process

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

Yarn to Fabric Process

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

PO List

Access: erp.yarn_fabric.purchase_orders:read(or :write)

GET/public/v1/yarn-fabric/purchase-orders

List yarn / greige fabric purchase orders (paged)

Scope erp.yarn_fabric.purchase_orders:read · the client's role needs view on PO List

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).
vendorIdqueryinteger (int64)Only this vendor / customer (id).
dateFromquerystring (date)From this date (YYYY-MM-DD), inclusive.
dateToquerystring (date)Up to this date (YYYY-MM-DD), inclusive.
Response (200) — data
FieldTypeNotes
contentarray of object
idinteger (int64)
poNostring
poCreationDatestring (date)
vendorNamestring
companyLocationNamestring
shipToTypestring
shipToLabelstring
poDeliveryDatestring (date)
shipModestring
itemsCountinteger (int32)
grandTotalnumber
statusstring
closureTypestring
approverNamestring
grnCountinteger (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 yarn / greige fabric purchase orders (paged) curl -X GET "https://kronex.codeverse.co/cedge/public/v1/yarn-fabric/purchase-orders?page=0&size=20" \ -H "Authorization: Bearer $KERN_API_KEY"
GET/public/v1/yarn-fabric/purchase-orders/{id}

Get one yarn / greige fabric purchase order

Scope erp.yarn_fabric.purchase_orders:read · the client's role needs view on PO List

Parameters
NameInTypeNotes
id *pathinteger (int64)The record's id.
Response (200) — data
FieldTypeNotes
idinteger (int64)
poNostring
vendorIdinteger (int64)
vendorNamestring
companyLocationIdinteger (int64)
companyLocationNamestring
shipToTypestring
shipToRefIdinteger (int64)
shipToLabelstring
poCreationDatestring (date)
poDeliveryDatestring (date)
shippingTermsIdinteger (int64)
shippingTermsNamestring
deliveryTermsIdinteger (int64)
deliveryTermsNamestring
shipModestring
notesstring
statusstring
grossTotalnumber
transportCostnumber
additionalCostnumber
grandTotalnumber
submittedAtstring (date-time)
submittedByinteger (int64)
approvedAtstring (date-time)
approvedByinteger (int64)
rejectedAtstring (date-time)
rejectedByinteger (int64)
rejectionReasonstring
cancelledAtstring (date-time)
cancelledByinteger (int64)
cancellationReasonstring
closeReasonstring
closedByinteger (int64)
closedAtstring (date-time)
closureTypestring
grnCountinteger (int32)
createdAtstring (date-time)
updatedAtstring (date-time)
createdByinteger (int64)

…40 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 yarn / greige fabric purchase order curl -X GET "https://kronex.codeverse.co/cedge/public/v1/yarn-fabric/purchase-orders/{id}" \ -H "Authorization: Bearer $KERN_API_KEY"

GRN

Access: erp.yarn_fabric.grns:read(or :write)

GET/public/v1/yarn-fabric/purchase-orders/{poId}/grns

Goods receipts of one yarn / fabric purchase order (newest first)

Scope erp.yarn_fabric.grns:read · the client's role needs view on GRN

Parameters
NameInTypeNotes
poId *pathinteger (int64)The record's id.
Response (200) — data
FieldTypeNotes
idinteger (int64)
grnNostring
poIdinteger (int64)
poNostring
vendorNamestring
companyLocationNamestring
receivedDatestring (date)
referenceNostring
referenceDatestring (date)
receivedByinteger (int64)
receivedByNamestring
notesstring
statusstring
approvedByinteger (int64)
approvedByNamestring
approvedAtstring (date-time)
createdAtstring (date-time)
linesarray of object
idinteger (int64)
poIdinteger (int64)
poNumstring
poLineIdinteger (int64)
itemRefTypestring
itemRefIdinteger (int64)
itemCodestring
itemDescriptionstring
uomstring
uomIdinteger (int64)
sizeIdinteger (int64)
scalestring
poQtynumber
prevReceivednumber
receiveQtynumber
rejectQtynumber
netQtynumber
unitPricenumber
lotNumberstring
rollNostring
qcStatusstring
remarksstring

…18 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 — Goods receipts of one yarn / fabric purchase order (newest first) curl -X GET "https://kronex.codeverse.co/cedge/public/v1/yarn-fabric/purchase-orders/{poId}/grns?page=0&size=20" \ -H "Authorization: Bearer $KERN_API_KEY"