Scope erp.products.products:read · the client's role needs view on Product List
Parameters
Name
In
Type
Notes
id *
path
integer (int64)
The record's id.
Response (200) — data
Field
Type
Notes
id
integer (int64)
productCode
string
productName
string
colorId
integer (int64)
colorName
string
colorCode
string
uomId
integer (int64)
uomName
string
category
string
season
string
garmentType
string
brandId
integer (int64)
brandName
string
locationId
integer (int64)
locationName
string
hsnCode
string
gstPct
number
standardCost
number
mrp
number
moq
integer (int32)
remarks
string
productImageUrl
string
status
string
skuConfig
string
skus
array of object
id
integer (int64)
sizeCode
string
sizeName
string
sku
string
ean
string
articleNo
string
customerNames
array of object
id
integer (int64)
customerName
string
displayOrder
integer (int32)
descriptions
array of object
id
integer (int64)
description
string
displayOrder
integer (int32)
sizes
array of object
…39 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 product with sizes, SKUs and BOM
curl -X GET "https://kronex.codeverse.co/cedge/public/v1/products/products/{id}" \
-H "Authorization: Bearer $KERN_API_KEY"
PUT/public/v1/products/products/{id}
Update a product
Scope erp.products.products:write · the client's role needs edit on Product List · 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
productName
string
colorId
integer (int64)
customerNames
array of object
customerName *
string
displayOrder
integer (int32)
descriptions
array of object
description *
string
displayOrder
integer (int32)
category
string
season
string
garmentType
string
brandId
integer (int64)
sizes
array of object
sizeCode *
string
sizeName
string
gsCode
string
quantity
integer (int32)
standardCost
number
mrp
number
moq
integer (int32)
displayOrder
integer (int32)
uomId *
integer (int64)
hsnCode
string
gstPct
number
standardCost
number
mrp
number
moq
integer (int32)
remarks
string
bom
array of object
rmTypeId
integer (int64)
materialType *
string
rmId
integer (int64)
fabricId
integer (int64)
materialName *
string
consumption *
number
uomId
integer (int64)
uomName
string
pricePerUom
number
totalPrice
number
displayOrder
integer (int32)
…12 more fields — see the OpenAPI file.
Response (200) — data
Field
Type
Notes
id
integer (int64)
productCode
string
productName
string
colorId
integer (int64)
colorName
string
colorCode
string
uomId
integer (int64)
uomName
string
category
string
season
string
garmentType
string
brandId
integer (int64)
brandName
string
locationId
integer (int64)
locationName
string
hsnCode
string
gstPct
number
standardCost
number
mrp
number
moq
integer (int32)
remarks
string
productImageUrl
string
status
string
skuConfig
string
skus
array of object
id
integer (int64)
sizeCode
string
sizeName
string
sku
string
ean
string
articleNo
string
customerNames
array of object
id
integer (int64)
customerName
string
displayOrder
integer (int32)
descriptions
array of object
id
integer (int64)
description
string
displayOrder
integer (int32)
sizes
array of object
…39 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.