Skip to main content

api_relations

Description

The api_relations table exposes relation entities from Simplicate, which represent customers, contacts, and other business relationships. Internal relations are excluded from this table.

Fields

Field NameTypeDescription
relation_idIntegerUnique identifier for the business relation
account_manager_idIntegerIdentifier of the account manager (employee) for this relation
customer_group_organization_idIntegerIdentifier of the customer group organization
relationStringName of the company or organization
relation_numberStringHuman-readable relation number or customer code
relation_typeStringType of business relation (e.g., customer, prospect, supplier)
relation_industryStringIndustry sector or business category of the relation
customer_groupStringName of the customer group this relation belongs to
is_activeNumericIndicator whether the relation is active (1=active, 0=inactive)
  • api_projects - Projects via relation_id
  • api_invoices - Invoices via relation_id
  • api_invoicelines - Invoice lines via relation_id
  • api_employees - Account manager via account_manager_id
  • api_relation_custom_fields - Custom fields via relation_id