Skip to content

app.vendor_products

TableRow level security on

What a vendor sells, bound to a catalog item or canon element, with the vendor's SKU and price.

Primary key: id

Columns of app.vendor_products
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.vendors on insert; never accepted from the caller and never changed.References app.organizations.id
vendor_iduuidNoVendor selling.References app.vendors.id
catalog_binding_iduuidYesCatalog item of the same org the product fulfills.References app.catalog_bindings.id
element_idtextYesCanon element the product is, when bound directly.References xpms.elements.element_id
vendor_skutextNoThe vendor's product identifier (recorded, never minted).
unit_price_minorbigintYesVendor price in minor units; NULL is unpriced.
currency_codecharacter(3)YesISO 4217 currency of the price.References private.currencies.currency_code
lead_time_daysintegerYesDays from order to delivery.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id