ZRM Docs
Domain Model

Product

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
categoryIdstringYesID of the associated category
namestringYesName
skustringYesSku
descriptionstringYesDescription
manufacturerstringNoManufacturer
modelNumberstringNoModel number
unitPricenumberNoUnit price
costPricenumberNoCost price
msrpnumberNoMsrp
markupPercentnumberNoMarkup percent
unitenum(each, foot, meter, box, roll, pair, kit)YesUnit
statusenum(draft, active, discontinued)YesStatus
attributesobjectYesAttributes
warrantyMonthsintegerNoWarranty months
leadTimeDaysintegerNoLead time days
minOrderQuantityintegerYesMin order quantity
estimatedLaborHoursnumberNoEstimated labor hours
laborNotesstringNoLabor notes
notesstringNoNotes
productTypeunknownYesProduct type
cutSheetS3KeyunknownYesCut sheet s3key
trackInventorybooleanYesTrack inventory
reorderPointunknownYesReorder point
reorderQtyunknownYesReorder qty
workspaceIdstringYesID of the associated workspace
visibilityModeenum(global, workspace_local, shared)YesVisibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
categoryIdstringYesID of the associated category
namestringYesName
skustringYesSku
descriptionstringYesDescription
manufacturerstringNoManufacturer
modelNumberstringNoModel number
unitPricenumberNoUnit price
costPricenumberNoCost price
msrpnumberNoMsrp
markupPercentnumberNoMarkup percent
unitenum(each, foot, meter, box, roll, pair, kit)Yes"each"Unit
statusenum(draft, active, discontinued)Yes"draft"Status
attributesobjectYes{}Attributes
warrantyMonthsintegerNoWarranty months
leadTimeDaysintegerNoLead time days
minOrderQuantityintegerYes1Min order quantity
estimatedLaborHoursnumberNoEstimated labor hours
laborNotesstringNoLabor notes
notesstringNoNotes
productTypeenum(controller, panel, camera, sensor, reader, lock, switch, server, nvr_dvr, workstation, ups, pdu, enclosure, module, cable_run, access_point, intercom_station, other)NoProduct type
cutSheetS3KeystringNoCut sheet s3key
trackInventorybooleanYesfalseTrack inventory
reorderPointunknownNoReorder point
reorderQtyunknownNoReorder qty
workspaceIdstringNoID of the associated workspace
visibilityModeenum(global, workspace_local, shared)Yes"workspace_local"Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
categoryIdstringNoID of the associated category
namestringNoName
skustringNoSku
descriptionstringNoDescription
manufacturerunknownNoManufacturer
modelNumberunknownNoModel number
unitPriceunknownNoUnit price
costPriceunknownNoCost price
msrpunknownNoMsrp
markupPercentunknownNoMarkup percent
unitenum(each, foot, meter, box, roll, pair, kit)No"each"Unit
statusenum(draft, active, discontinued)No"draft"Status
attributesobjectNo{}Attributes
warrantyMonthsunknownNoWarranty months
leadTimeDaysunknownNoLead time days
minOrderQuantityintegerNo1Min order quantity
estimatedLaborHoursunknownNoEstimated labor hours
laborNotesunknownNoLabor notes
notesunknownNoNotes
productTypeunknownNoProduct type
cutSheetS3KeyunknownNoCut sheet s3key
trackInventorybooleanNoTrack inventory
reorderPointunknownNoReorder point
reorderQtyunknownNoReorder qty

On this page