Skip to main content

What it is

Supplier master data — name, currency, default lead time, and target stock days. Suppliers provide the defaults for procurement math: a Product without its own lead_time_days / target_stock_days inherits its supplier’s default_* values. Purchase Order Lines and products reference suppliers via supplier_id. Fully editable in the app; also ingest-enabled for syncing from an external system.

How it gets data

Ingest-enabled — POST /api/ingest/suppliers (see Ingest API):
  • One JSON record per request; unknown fields are dropped.
  • Idempotent upsert on (tenant_id, external_id) — use a stable supplier code as external_id.
  • tenant_id / workspace_id come from the API key context, never from the body.
Minimal example payload:

Fields

Like every workspace table, suppliers also carry the system columns tenant_id, workspace_id, and updated_at — set automatically, never sent by integrations.

Query it