Space 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
visibilityModeunknownYesVisibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
categoryIdstringYesID of the associated category
namestringYesName
skustringYesSku
descriptionstringYesDescription
manufacturerstringNoManufacturer
manufacturerVendorIdstringNoID of the associated manufacturer vendor
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
visibilityModeunknownNoVisibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
categoryIdstringNoID of the associated category
namestringNoName
skustringNoSku
descriptionstringNoDescription
manufacturerunknownNoManufacturer
manufacturerVendorIdunknownNoID of the associated manufacturer vendor
modelNumberunknownNoModel number
unitPriceunknownNoUnit price
costPriceunknownNoCost price
msrpunknownNoMsrp
markupPercentunknownNoMarkup percent
unitenum(each, foot, meter, box, roll, pair, kit)NoUnit
statusenum(draft, active, discontinued)NoStatus
attributesobjectNoAttributes
warrantyMonthsunknownNoWarranty months
leadTimeDaysunknownNoLead time days
minOrderQuantityintegerNoMin order quantity
estimatedLaborHoursunknownNoEstimated labor hours
laborNotesunknownNoLabor notes
notesunknownNoNotes
productTypeunknownNoProduct type
cutSheetS3KeyunknownNoCut sheet s3key
trackInventorybooleanNoTrack inventory
reorderPointunknownNoReorder point
reorderQtyunknownNoReorder qty

On this page