Docs

Docs

x-cpod-domain: vendor

Vendor

Vendor lifecycle — scorecards, certifications, insurance, contacts, onboarding.

Try in explorer client.vendor

Scorecard

A periodic performance scorecard for a vendor.

REST path/api/v1/vendor/scorecards
Operations
listgetcreateupdatedelete
SDK
// list — returns only your records; add filters/search:
await client.vendor.scorecards.list()

// create:
await client.vendor.scorecards.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  vendor_id: "example vendor_id",
  period: "example period",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
vendor_id*stringId of the vendor this scorecard rates (e.g. 'sup_01HXABC').
period*stringReview period this scorecard covers (e.g. '2026-Q2').
overall_scorenumberComposite score across all dimensions (e.g. 85).
quality_scorenumberQuality dimension score (e.g. 90).
delivery_scorenumberOn-time delivery dimension score (e.g. 80).
responsivenessnumberResponsiveness dimension score (e.g. 85).
notesstringFree-form reviewer notes.
reviewer_iduuidId of the user who authored this scorecard (e.g. 'usr_01HXABC').
statusenumLifecycle status. Defaults to 'draft'.draftsubmittedapproved

Certification

A compliance or security certification held by a vendor.

REST path/api/v1/vendor/certifications
Operations
listgetcreateupdatedelete
SDK
// list — returns only your records; add filters/search:
await client.vendor.certifications.list()

// create:
await client.vendor.certifications.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  vendor_id: "example vendor_id",
  type: "soc2_type1",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
vendor_id*stringId of the vendor that holds this certification (e.g. 'sup_01HXABC').
type*enumCertification type.soc2_type1soc2_type2iso27001iso9001iso14001hipaapci_dssfedramphitrustgdprother
statusenumCertification status. Defaults to 'current'.currentexpiredin_progressnot_applicablerevoked
issued_datedate-timeISO 8601 date the certification was issued.
expiration_datedate-timeISO 8601 date the certification expires.
auditorstringAuditor or certifying body (e.g. 'Deloitte').
scopestringScope covered by the certification (e.g. 'All production services').
findingsstringSummary of audit findings.
qualified_opinionbooleanWhether the audit resulted in a qualified opinion. Defaults to false.
document_urlstringURL of the certification document.
verified_atdate-timeWhen the certification was last verified.

Insurance

An insurance policy carried by a vendor.

REST path/api/v1/vendor/insurance
Operations
listgetcreateupdatedelete
SDK
// list — returns only your records; add filters/search:
await client.vendor.insurance.list()

// create:
await client.vendor.insurance.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  vendor_id: "example vendor_id",
  type: "general_liability",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
vendor_id*stringId of the vendor that carries this policy (e.g. 'sup_01HXABC').
type*enumInsurance coverage type.general_liabilityprofessional_liabilitycyberworkers_compeplpropertyother
carrierstringInsurance carrier (e.g. 'AIG').
policy_numberstringPolicy number (e.g. 'POL-2026-12345').
coverage_amountnumberCoverage limit (e.g. 5000000).
effective_datedate-timeISO 8601 policy effective date.
expiration_datedate-timeISO 8601 policy expiration date.
statusenumPolicy status. Defaults to 'active'.activeexpiredpendingcancelled
document_urlstringURL of the certificate of insurance.

Contact

A point of contact at a vendor.

REST path/api/v1/vendor/contacts
Operations
listgetcreateupdatedelete
SDK
// list — returns only your records; add filters/search:
await client.vendor.contacts.list()

// create:
await client.vendor.contacts.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  vendor_id: "example vendor_id",
  name: "example name",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
vendor_id*stringId of the vendor this contact belongs to (e.g. 'sup_01HXABC').
name*stringContact full name (e.g. 'John Doe').
emailemailContact email (e.g. 'john@vendor.com').
phonestringContact phone number (e.g. '+1-555-0123').
rolestringContact role or title (e.g. 'Account Manager').
departmentstringDepartment the contact works in (e.g. 'Sales').
is_primarybooleanWhether this is the primary contact for the vendor. Defaults to false.
statusenumContact status. Defaults to 'active'.activeinactive

Onboarding

An onboarding workflow record for a vendor.

REST path/api/v1/vendor/onboarding
Operations
listgetcreateupdatedelete
SDK
// list — returns only your records; add filters/search:
await client.vendor.onboarding.list()

// create:
await client.vendor.onboarding.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  vendor_id: "example vendor_id",
  app_id: "example app_id",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
vendor_id*stringId of the vendor being onboarded (e.g. 'sup_01HXABC').
statusenumOnboarding status. Defaults to 'pending'.pendingin_progresscompletedcancelled
started_atdate-timeWhen onboarding started.
completed_atdate-timeWhen onboarding completed.
assignee_iduuidId of the user driving onboarding (e.g. 'usr_01HXABC').
steps_completedjsonArray of completed onboarding step identifiers.
current_stepstringCurrent step in the onboarding workflow (e.g. 'security_review').
notesstringFree-form onboarding notes.
priorityenumOnboarding priority. Defaults to 'medium'.lowmediumhigh