- Unified contact properties: Essential contact details like name, tax number, and status are standardized across different payment platforms
- Comprehensive contact information: Contacts can include associated addresses for billing and shipping purposes
- Status tracking: The model supports tracking contact account status with values like
active,inactive,suspended, andunknown
Attributes
Contact Attributes
| Property | Type | Description |
|---|---|---|
| rootfi_id | integer | Unique identifier assigned by Commenda for this contact |
| rootfi_created_at | string | Timestamp when this record was created in Commenda’s system (ISO 8601) |
| rootfi_updated_at | string | Timestamp when this record was last updated in Commenda’s system (ISO 8601) |
| rootfi_company_id | integer | Company identifier this contact belongs to within Commenda |
| platform_id | string | Unique identifier for this contact in the source payment platform |
| platform_unique_id | string | Alternative unique identifier from the platform (some platforms provide multiple IDs) |
| name | string | Full name or business name of the contact (e.g., “Acme Corporation”) |
| tax_number | string | Tax identification number (e.g., EIN, VAT number, SSN) |
| type | enum | Type of customer relationship |
| status | enum | Current status of the customer account |
| created_at | string | Original creation timestamp from the source platform (ISO 8601) |
| updated_at | string | Last modification timestamp from the source platform (ISO 8601) |
| addresses | array | Collection of Address objects for billing and shipping |
Type Enum Values
| Value | Description |
|---|---|
customer | Contact is a customer who makes purchases |
vendor | Contact is a vendor who supplies products |
both | Contact acts as both customer and vendor |
unknown | Type cannot be determined |
Status Enum Values
| Value | Description |
|---|---|
active | Contact is active and in good standing |
inactive | Contact has been voluntarily deactivated |
suspended | Contact is temporarily suspended due to payment issues |
archived | Contact has been archived for record-keeping |
unknown | Status cannot be determined from the platform |
Address Attributes
| Property | Type | Description |
|---|---|---|
| type | enum | Indicates the purpose of this address (billing, shipping, warehouse) |
| street | string | Street address including building/suite number |
| city | string | City name |
| state | string | State, province, or region (typically 2-letter code) |
| postal_code | string | ZIP code or postal code |
| country | string | ISO 3166-1 alpha-2 country code (e.g., “US”, “GB”) |
Expandable Attributes
Use theexpand query parameter to include related objects:
expand=addresses- Includes full Address objects
Properties Supported
| Property | Type | Description |
|---|---|---|
| platform_id | string | The Platform’s ID for the contact |
| name | string | Name of the contact on the platform |
| created_at | string | The ISO 8601 timestamp at which the data was created |
| tax_number | string | Contact’s tax number (i.e. GST, EIN, VAT) |
| status | string | Current status of the contact account |
| updated_at | string | The ISO 8601 timestamp at which the information was updated on the platform |
| addresses | array | The addresses associated with the contact |