ZRM Docs
Domain Model

Vendor Product

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
vendorIdstring.uuidYesID of the associated vendor
productIdstring.uuidYesID of the associated product
vendorSkuunknownYesVendor sku
vendorUnitCostnumberYesVendor unit cost
leadTimeDaysunknownYesLead time days
minimumOrderQtyunknownYesMinimum order qty
isPreferredbooleanYesIs preferred
notesunknownYesNotes
workspaceIdstring.uuidYesID of the associated workspace
visibilityModeenum(workspace_local, workspace_shared, master_global)YesVisibility mode
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
vendorIdstring.uuidYesID of the associated vendor
productIdstring.uuidYesID of the associated product
vendorSkuunknownNoVendor sku
vendorUnitCostnumberYesVendor unit cost
leadTimeDaysunknownNoLead time days
minimumOrderQtyunknownNoMinimum order qty
isPreferredbooleanYesfalseIs preferred
notesunknownNoNotes
workspaceIdstring.uuidYesID of the associated workspace
visibilityModeenum(workspace_local, workspace_shared, master_global)Yes"workspace_local"Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
vendorSkuunknownNoVendor sku
vendorUnitCostnumberNoVendor unit cost
leadTimeDaysunknownNoLead time days
minimumOrderQtyunknownNoMinimum order qty
isPreferredbooleanNofalseIs preferred
notesunknownNoNotes
visibilityModeenum(workspace_local, workspace_shared, master_global)No"workspace_local"Visibility mode

On this page