Space Docs
Domain Model

Product

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
categoryIdstringYes—ID of the associated category
namestringYes—Name
skustringYes—Sku
descriptionstringYes—Description
manufacturerstringNo—Manufacturer
modelNumberstringNo—Model number
unitPricenumberNo—Unit price
costPricenumberNo—Cost price
costPriceUpdatedAtunknownYes—Cost price updated at
msrpnumberNo—Msrp
markupPercentnumberNo—Markup percent
unitenum(each, foot, meter, box, roll, pair, kit)Yes—Unit
statusenum(draft, active, discontinued)Yes—Status
attributesobjectYes—Attributes
warrantyMonthsintegerNo—Warranty months
leadTimeDaysintegerNo—Lead time days
minOrderQuantityintegerYes—Min order quantity
estimatedLaborHoursnumberNo—Estimated labor hours
laborNotesstringNo—Labor notes
notesstringNo—Notes
productTypeunknownYes—Product type
cutSheetS3Keystring,nullYes—Cut sheet s3key
trackInventorybooleanYes—Track inventory
reorderPointnumber,nullYes—Reorder point
reorderQtynumber,nullYes—Reorder qty
workspaceIdstringYes—ID of the associated workspace
visibilityModeunknownYes—Visibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
categoryIdstringYes—ID of the associated category
namestringYes—Name
skustringYes—Sku
descriptionstringNo—Description
manufacturerstringNo—Manufacturer
manufacturerVendorIdstringNo—ID of the associated manufacturer vendor
modelNumberstringNo—Model number
unitPricenumberNo—Unit price
costPricenumberNo—Cost price
msrpnumberNo—Msrp
markupPercentnumberNo—Markup percent
unitenum(each, foot, meter, box, roll, pair, kit)Yes"each"Unit
statusenum(draft, active, discontinued)Yes"draft"Status
attributesobjectYes{}Attributes
warrantyMonthsintegerNo—Warranty months
leadTimeDaysintegerNo—Lead time days
minOrderQuantityintegerYes1Min order quantity
estimatedLaborHoursnumberNo—Estimated labor hours
laborNotesstringNo—Labor notes
notesstringNo—Notes
productTypeenum(controller, panel, camera, sensor, reader, lock, switch, server, nvr_dvr, workstation, ups, pdu, enclosure, module, cable_run, access_point, intercom_station, other)No—Product type
cutSheetS3KeystringNo—Cut sheet s3key
trackInventorybooleanYesfalseTrack inventory
reorderPointunknownNo—Reorder point
reorderQtyunknownNo—Reorder qty
workspaceIdstringNo—ID of the associated workspace
visibilityModeunknownNo—Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
categoryIdstringNo—ID of the associated category
namestringNo—Name
skustringNo—Sku
descriptionstringNo—Description
manufacturerunknownNo—Manufacturer
manufacturerVendorIdunknownNo—ID of the associated manufacturer vendor
modelNumberunknownNo—Model number
unitPriceunknownNo—Unit price
costPriceunknownNo—Cost price
msrpunknownNo—Msrp
markupPercentunknownNo—Markup percent
unitenum(each, foot, meter, box, roll, pair, kit)No—Unit
statusenum(draft, active, discontinued)No—Status
attributesobjectNo—Attributes
warrantyMonthsunknownNo—Warranty months
leadTimeDaysunknownNo—Lead time days
minOrderQuantityintegerNo—Min order quantity
estimatedLaborHoursunknownNo—Estimated labor hours
laborNotesunknownNo—Labor notes
notesunknownNo—Notes
productTypeunknownNo—Product type
cutSheetS3KeyunknownNo—Cut sheet s3key
trackInventorybooleanNo—Track inventory
reorderPointunknownNo—Reorder point
reorderQtyunknownNo—Reorder qty

On this page