Scope erp.masters.vendors:read · the client's role needs view on Vendor & Customer
Parameters
Name
In
Type
Notes
id *
path
integer (int64)
The record's id.
Response (200) — data
Field
Type
Notes
id
integer (int64)
vendorType
string
type
string
name
string
address
string
country
string
countryCode
string
state
string
stateCode
string
city
string
postalCode
string
phone
string
altPhone
string
whatsappPhone
string
supplyType
string
currency
string
gstNo
string
email
string
contactPerson
string
termsConditions
string
customFields
array of object
label
string
value
string
createdAt
string (date-time)
updatedAt
string (date-time)
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 vendor or customer
curl -X GET "https://kronex.codeverse.co/cedge/public/v1/masters/vendors/{id}" \
-H "Authorization: Bearer $KERN_API_KEY"
PUT/public/v1/masters/vendors/{id}
Update a vendor or customer
Scope erp.masters.vendors:write · the client's role needs edit on Vendor & Customer · 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
vendorType *
string
type *
string
name *
string
address *
string
country *
string
countryCode *
string
state *
string
stateCode *
string
city *
string
postalCode *
string
phone
string
altPhone
string
whatsappPhone
string
supplyType *
string
currency
string
gstNo
string
email
string
contactPerson
string
termsConditions
string
customFields
array of object
label
string
value
string
Response (200) — data
Field
Type
Notes
id
integer (int64)
vendorType
string
type
string
name
string
address
string
country
string
countryCode
string
state
string
stateCode
string
city
string
postalCode
string
phone
string
altPhone
string
whatsappPhone
string
supplyType
string
currency
string
gstNo
string
email
string
contactPerson
string
termsConditions
string
customFields
array of object
label
string
value
string
createdAt
string (date-time)
updatedAt
string (date-time)
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.masters.uoms:read · the client's role needs view on Fabric Master
Response (200) — data
Field
Type
Notes
id
integer (int64)
uomName
string
Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.
Example
# KERN ERP — List units of measure
curl -X GET "https://kronex.codeverse.co/cedge/public/v1/masters/uoms?page=0&size=20" \
-H "Authorization: Bearer $KERN_API_KEY"
Product List
Access: erp.masters.sizes:read(or :write)
GET/public/v1/masters/sizes
List sizes
Scope erp.masters.sizes:read · the client's role needs view on Product List
Response (200) — data
Field
Type
Notes
id
integer (int64)
sizeCode
string
sizeName
string
Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.
Example
# KERN ERP — List sizes
curl -X GET "https://kronex.codeverse.co/cedge/public/v1/masters/sizes?page=0&size=20" \
-H "Authorization: Bearer $KERN_API_KEY"
Config & Settings
Access: erp.masters.warehouses:read(or :write)
GET/public/v1/masters/warehouses
List active warehouses
Scope erp.masters.warehouses:read · the client's role needs view on Config & Settings
Response (200) — data
Field
Type
Notes
id
integer (int64)
code
string
name
string
address
string
virtual
boolean
default
boolean
active
boolean
isDefault
boolean
isActive
boolean
isVirtual
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 active warehouses
curl -X GET "https://kronex.codeverse.co/cedge/public/v1/masters/warehouses?page=0&size=20" \
-H "Authorization: Bearer $KERN_API_KEY"