Space Docs
Domain Model

Vendor Product

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
vendorIdstring.uuidYes—ID of the associated vendor
productIdstring.uuidYes—ID of the associated product
vendorSkuunknownYes—Vendor sku
vendorUnitCostnumberYes—Vendor unit cost
leadTimeDaysunknownYes—Lead time days
minimumOrderQtyunknownYes—Minimum order qty
isPreferredbooleanYes—Is preferred
notesstring,nullYes—Notes
workspaceIdstring.uuidYes—ID of the associated workspace
visibilityModeunknownYes—Visibility mode
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
vendorIdstring.uuidYes—ID of the associated vendor
productIdstring.uuidYes—ID of the associated product
vendorSkuunknownNo—Vendor sku
vendorUnitCostnumberYes—Vendor unit cost
leadTimeDaysunknownNo—Lead time days
minimumOrderQtyunknownNo—Minimum order qty
isPreferredbooleanYesfalseIs preferred
notesstring,nullNo—Notes
workspaceIdstring.uuidYes—ID of the associated workspace
visibilityModeunknownNo—Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
vendorSkuunknownNo—Vendor sku
vendorUnitCostnumberNo—Vendor unit cost
leadTimeDaysunknownNo—Lead time days
minimumOrderQtyunknownNo—Minimum order qty
isPreferredbooleanNo—Is preferred
notesstring,nullNo—Notes
visibilityModeunknownNo—Visibility mode

On this page