Grouped by screen, as in the app. Scope for the whole module: erp.stores.*:read or :write.
Stock Transfers
Access: erp.stores.transfers:read(or :write)
GET/public/v1/stores/transfers
List transfer notes between warehouses (paged; status, search)
Scope erp.stores.transfers:read · the client's role needs view on Stock Transfers
Parameters
Name
In
Type
Notes
page
query
integer (int32)
Page number, starting at 0.
size
query
integer (int32)
Items per page.
status
query
string
Only records with this status (see the record's status values).
search
query
string
Search text (part of a name, number or code; not case-sensitive).
Response (200) — data
Field
Type
Notes
content
array of object
id
integer (int64)
qcNo
string
qcDate
string (date)
qcPerson
string
process
string
dcNo
string
vendorName
string
locationName
string
status
string
page
integer (int32)
size
integer (int32)
totalElements
integer (int64)
totalPages
integer (int32)
last
boolean
Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.
Example
# KERN ERP — List transfer notes between warehouses (paged; status, search)
curl -X GET "https://kronex.codeverse.co/cedge/public/v1/stores/transfers?page=0&size=20" \
-H "Authorization: Bearer $KERN_API_KEY"
POST/public/v1/stores/transfers
Create a transfer note (DRAFT; dispatch=true dispatches at once)
Scope erp.stores.transfers:write · the client's role needs create on Stock Transfers · send an Idempotency-Key
Parameters
Name
In
Type
Notes
Idempotency-Key *
header
string
Any 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
Field
Type
Notes
qcNo
string
qcDate *
string (date)
qcPerson *
string
process *
string
locationId
integer (int64)
inspectionLines
array of object
grnLineId *
integer (int64)
fabricProgramNo
string
itemType
string
itemNo
string
rollNo
string
gsm
number
width
number
weight
number
rollQty
number
acceptedQty
number
qcResult
string
stockInwardLines
array of object
id
integer (int64)
grnLineId *
integer (int64)
fabricProgramNo
string
itemType
string
fabricId *
integer (int64)
inwardFabricColor
string
uomId
integer (int64)
lotNo
string
width
number
gsm
number
weight
number
locationId
integer (int64)
rollNo
string
qty *
number
Response (200) — data
Field
Type
Notes
id
integer (int64)
qcNo
string
qcDate
string (date)
qcPerson
string
process
string
locationId
integer (int64)
locationName
string
status
string
inspectionLines
array of object
id
integer (int64)
grnLineId
integer (int64)
dcNo
string
fabricProgramNo
string
itemType
string
itemNo
string
rollNo
string
gsm
number
width
number
weight
number
rollQty
number
acceptedQty
number
qcResult
string
stockInwardLines
array of object
id
integer (int64)
grnLineId
integer (int64)
dcNo
string
fabricProgramNo
string
itemType
string
fabricId
integer (int64)
itemName
string
inwardFabricColor
string
uomId
integer (int64)
uomName
string
lotNo
string
width
number
gsm
number
weight
number
locationId
integer (int64)
locationName
string
rollNo
string
…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 — Create a transfer note (DRAFT; dispatch=true dispatches at once)
curl -X POST "https://kronex.codeverse.co/cedge/public/v1/stores/transfers" \
-H "Authorization: Bearer $KERN_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{ … }'
GET/public/v1/stores/transfers/{id}
Get one transfer note (lines, available qty, audit trail)
Scope erp.stores.transfers:read · the client's role needs view on Stock Transfers
Parameters
Name
In
Type
Notes
id *
path
integer (int64)
The record's id.
Response (200) — data
Field
Type
Notes
id
integer (int64)
qcNo
string
qcDate
string (date)
qcPerson
string
process
string
locationId
integer (int64)
locationName
string
status
string
inspectionLines
array of object
id
integer (int64)
grnLineId
integer (int64)
dcNo
string
fabricProgramNo
string
itemType
string
itemNo
string
rollNo
string
gsm
number
width
number
weight
number
rollQty
number
acceptedQty
number
qcResult
string
stockInwardLines
array of object
id
integer (int64)
grnLineId
integer (int64)
dcNo
string
fabricProgramNo
string
itemType
string
fabricId
integer (int64)
itemName
string
inwardFabricColor
string
uomId
integer (int64)
uomName
string
lotNo
string
width
number
gsm
number
weight
number
locationId
integer (int64)
locationName
string
rollNo
string
…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 transfer note (lines, available qty, audit trail)
curl -X GET "https://kronex.codeverse.co/cedge/public/v1/stores/transfers/{id}" \
-H "Authorization: Bearer $KERN_API_KEY"
PUT/public/v1/stores/transfers/{id}
Update a DRAFT transfer note
Scope erp.stores.transfers:write · the client's role needs edit on Stock Transfers · send an Idempotency-Key
Parameters
Name
In
Type
Notes
id *
path
integer (int64)
The record's id.
Idempotency-Key *
header
string
Any 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
Field
Type
Notes
qcNo
string
qcDate *
string (date)
qcPerson *
string
process *
string
locationId
integer (int64)
inspectionLines
array of object
grnLineId *
integer (int64)
fabricProgramNo
string
itemType
string
itemNo
string
rollNo
string
gsm
number
width
number
weight
number
rollQty
number
acceptedQty
number
qcResult
string
stockInwardLines
array of object
id
integer (int64)
grnLineId *
integer (int64)
fabricProgramNo
string
itemType
string
fabricId *
integer (int64)
inwardFabricColor
string
uomId
integer (int64)
lotNo
string
width
number
gsm
number
weight
number
locationId
integer (int64)
rollNo
string
qty *
number
Response (200) — data
Field
Type
Notes
id
integer (int64)
qcNo
string
qcDate
string (date)
qcPerson
string
process
string
locationId
integer (int64)
locationName
string
status
string
inspectionLines
array of object
id
integer (int64)
grnLineId
integer (int64)
dcNo
string
fabricProgramNo
string
itemType
string
itemNo
string
rollNo
string
gsm
number
width
number
weight
number
rollQty
number
acceptedQty
number
qcResult
string
stockInwardLines
array of object
id
integer (int64)
grnLineId
integer (int64)
dcNo
string
fabricProgramNo
string
itemType
string
fabricId
integer (int64)
itemName
string
inwardFabricColor
string
uomId
integer (int64)
uomName
string
lotNo
string
width
number
gsm
number
weight
number
locationId
integer (int64)
locationName
string
rollNo
string
…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.
Scope erp.stores.stock_issues:read · the client's role needs view on Stock Issue
Parameters
Name
In
Type
Notes
page
query
integer (int32)
Page number, starting at 0.
size
query
integer (int32)
Items per page.
status
query
string
Only records with this status (see the record's status values).
search
query
string
Search text (part of a name, number or code; not case-sensitive).
Response (200) — data
Field
Type
Notes
content
array of object
id
integer (int64)
qcNo
string
qcDate
string (date)
qcPerson
string
process
string
dcNo
string
vendorName
string
locationName
string
status
string
page
integer (int32)
size
integer (int32)
totalElements
integer (int64)
totalPages
integer (int32)
last
boolean
Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.
Example
# KERN ERP — List stock issue notes (paged; status, search)
curl -X GET "https://kronex.codeverse.co/cedge/public/v1/stores/stock-issues?page=0&size=20" \
-H "Authorization: Bearer $KERN_API_KEY"
POST/public/v1/stores/stock-issues
Create a stock issue note to a work order / production order (DRAFT, or submitted)
Scope erp.stores.stock_issues:write · the client's role needs create on Stock Issue · send an Idempotency-Key
Parameters
Name
In
Type
Notes
Idempotency-Key *
header
string
Any 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
Field
Type
Notes
qcNo
string
qcDate *
string (date)
qcPerson *
string
process *
string
locationId
integer (int64)
inspectionLines
array of object
grnLineId *
integer (int64)
fabricProgramNo
string
itemType
string
itemNo
string
rollNo
string
gsm
number
width
number
weight
number
rollQty
number
acceptedQty
number
qcResult
string
stockInwardLines
array of object
id
integer (int64)
grnLineId *
integer (int64)
fabricProgramNo
string
itemType
string
fabricId *
integer (int64)
inwardFabricColor
string
uomId
integer (int64)
lotNo
string
width
number
gsm
number
weight
number
locationId
integer (int64)
rollNo
string
qty *
number
Response (200) — data
Field
Type
Notes
id
integer (int64)
qcNo
string
qcDate
string (date)
qcPerson
string
process
string
locationId
integer (int64)
locationName
string
status
string
inspectionLines
array of object
id
integer (int64)
grnLineId
integer (int64)
dcNo
string
fabricProgramNo
string
itemType
string
itemNo
string
rollNo
string
gsm
number
width
number
weight
number
rollQty
number
acceptedQty
number
qcResult
string
stockInwardLines
array of object
id
integer (int64)
grnLineId
integer (int64)
dcNo
string
fabricProgramNo
string
itemType
string
fabricId
integer (int64)
itemName
string
inwardFabricColor
string
uomId
integer (int64)
uomName
string
lotNo
string
width
number
gsm
number
weight
number
locationId
integer (int64)
locationName
string
rollNo
string
…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 — Create a stock issue note to a work order / production order (DRAFT, or submitted)
curl -X POST "https://kronex.codeverse.co/cedge/public/v1/stores/stock-issues" \
-H "Authorization: Bearer $KERN_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{ … }'
GET/public/v1/stores/stock-issues/{id}
Get one stock issue note (lines, available / required qty, audit trail)
Scope erp.stores.stock_issues:read · the client's role needs view on Stock Issue
Parameters
Name
In
Type
Notes
id *
path
integer (int64)
The record's id.
Response (200) — data
Field
Type
Notes
id
integer (int64)
qcNo
string
qcDate
string (date)
qcPerson
string
process
string
locationId
integer (int64)
locationName
string
status
string
inspectionLines
array of object
id
integer (int64)
grnLineId
integer (int64)
dcNo
string
fabricProgramNo
string
itemType
string
itemNo
string
rollNo
string
gsm
number
width
number
weight
number
rollQty
number
acceptedQty
number
qcResult
string
stockInwardLines
array of object
id
integer (int64)
grnLineId
integer (int64)
dcNo
string
fabricProgramNo
string
itemType
string
fabricId
integer (int64)
itemName
string
inwardFabricColor
string
uomId
integer (int64)
uomName
string
lotNo
string
width
number
gsm
number
weight
number
locationId
integer (int64)
locationName
string
rollNo
string
…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 stock issue note (lines, available / required qty, audit trail)
curl -X GET "https://kronex.codeverse.co/cedge/public/v1/stores/stock-issues/{id}" \
-H "Authorization: Bearer $KERN_API_KEY"
PUT/public/v1/stores/stock-issues/{id}
Update a DRAFT stock issue note
Scope erp.stores.stock_issues:write · the client's role needs edit on Stock Issue · send an Idempotency-Key
Parameters
Name
In
Type
Notes
id *
path
integer (int64)
The record's id.
Idempotency-Key *
header
string
Any 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
Field
Type
Notes
qcNo
string
qcDate *
string (date)
qcPerson *
string
process *
string
locationId
integer (int64)
inspectionLines
array of object
grnLineId *
integer (int64)
fabricProgramNo
string
itemType
string
itemNo
string
rollNo
string
gsm
number
width
number
weight
number
rollQty
number
acceptedQty
number
qcResult
string
stockInwardLines
array of object
id
integer (int64)
grnLineId *
integer (int64)
fabricProgramNo
string
itemType
string
fabricId *
integer (int64)
inwardFabricColor
string
uomId
integer (int64)
lotNo
string
width
number
gsm
number
weight
number
locationId
integer (int64)
rollNo
string
qty *
number
Response (200) — data
Field
Type
Notes
id
integer (int64)
qcNo
string
qcDate
string (date)
qcPerson
string
process
string
locationId
integer (int64)
locationName
string
status
string
inspectionLines
array of object
id
integer (int64)
grnLineId
integer (int64)
dcNo
string
fabricProgramNo
string
itemType
string
itemNo
string
rollNo
string
gsm
number
width
number
weight
number
rollQty
number
acceptedQty
number
qcResult
string
stockInwardLines
array of object
id
integer (int64)
grnLineId
integer (int64)
dcNo
string
fabricProgramNo
string
itemType
string
fabricId
integer (int64)
itemName
string
inwardFabricColor
string
uomId
integer (int64)
uomName
string
lotNo
string
width
number
gsm
number
weight
number
locationId
integer (int64)
locationName
string
rollNo
string
…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.