Objects
The objects that routes return, with every field. A field that is null has no value.
Credential
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
name |
string |
yes |
|
token_prefix |
string |
yes |
|
scopes |
array of string |
yes |
|
expires_at |
string (date-time) |
yes |
|
last_used_at |
string (date-time) or null |
yes |
|
revoked_at |
string (date-time) or null |
yes |
|
created_at |
string (date-time) |
yes |
|
ConnectedApp
| Field |
Type |
Always present |
Notes |
client_id |
string |
yes |
|
client_name |
string or null |
yes |
|
redirect_hosts |
array of string |
yes |
|
granted_at |
string |
yes |
|
company_id |
string (uuid) or null |
yes |
|
company_name |
string or null |
yes |
|
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
company_id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
created_by |
string (uuid) or null |
yes |
|
updated_by |
string (uuid) or null |
yes |
|
deleted_at |
string (date-time) or null |
yes |
|
deleted_by |
string (uuid) or null |
yes |
|
first_name |
string or null |
yes |
|
last_name |
string or null |
yes |
|
display_name |
string |
yes |
|
status_id |
string (uuid) |
yes |
|
status_api_key |
string |
|
|
status_name |
string |
|
|
status_category |
string |
|
|
primary_email |
string or null |
|
|
primary_phone |
string or null |
|
|
primary_account_id |
string (uuid) or null |
|
|
primary_account_name |
string or null |
|
|
job_title |
string or null |
|
|
owner_user_id |
string (uuid) or null |
yes |
|
owner_user_name |
string or null |
|
|
owner_team_id |
string (uuid) or null |
yes |
|
owner_team_name |
string or null |
|
|
owner_name |
string or null |
|
|
language |
string or null |
yes |
|
source |
string or null |
yes |
|
privacy_accepted_at |
string (date-time) or null |
yes |
|
privacy_source |
string or null |
yes |
|
marketing_consent |
string |
yes |
|
marketing_consent_at |
string (date-time) or null |
yes |
|
marketing_consent_source |
string or null |
yes |
|
custom |
object |
yes |
|
custom_labels |
CustomLabels |
|
|
merged_into_id |
string (uuid) or null |
yes |
|
source_system |
string or null |
yes |
|
source_id |
string or null |
yes |
|
CustomLabels
object.
CustomFilter
| Field |
Type |
Always present |
Notes |
key |
string |
yes |
|
field |
string |
yes |
|
field_type |
string |
yes |
|
keys |
array of string |
|
|
values |
array of string |
|
|
value |
boolean |
|
|
from |
string |
|
|
to |
string |
|
|
Tag
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
name |
string |
yes |
|
name_normalized |
string |
yes |
|
color |
string or null |
yes |
|
created_at |
string (date-time) |
yes |
|
deleted_at |
string (date-time) or null |
yes |
|
Account
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
company_id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
created_by |
string (uuid) or null |
yes |
|
updated_by |
string (uuid) or null |
yes |
|
deleted_at |
string (date-time) or null |
yes |
|
deleted_by |
string (uuid) or null |
yes |
|
name |
string |
yes |
|
website |
string or null |
yes |
|
email_domain |
string or null |
yes |
|
email |
string or null |
yes |
|
phone |
string or null |
yes |
|
industry |
string or null |
yes |
|
business_id |
string or null |
yes |
|
business_id_country |
string or null |
yes |
|
parent_account_id |
string (uuid) or null |
yes |
|
parent_account_name |
string or null |
|
|
einvoice_address |
string or null |
yes |
|
einvoice_operator |
string or null |
yes |
|
peppol_id |
string or null |
yes |
|
primary_addresses |
any |
|
|
live_contact_count |
number |
|
|
primary_city |
string or null |
|
|
open_opportunity_count |
number |
|
|
owner_user_id |
string (uuid) or null |
yes |
|
owner_user_name |
string or null |
|
|
owner_team_id |
string (uuid) or null |
yes |
|
owner_team_name |
string or null |
|
|
owner_name |
string or null |
|
|
custom |
object |
yes |
|
custom_labels |
CustomLabels |
|
|
merged_into_id |
string (uuid) or null |
yes |
|
source_system |
string or null |
yes |
|
source_id |
string or null |
yes |
|
Opportunity
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
company_id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
created_by |
string (uuid) or null |
yes |
|
updated_by |
string (uuid) or null |
yes |
|
deleted_at |
string (date-time) or null |
yes |
|
deleted_by |
string (uuid) or null |
yes |
|
name |
string |
yes |
|
account_id |
string (uuid) or null |
yes |
|
account_name |
string or null |
|
|
pipeline_id |
string (uuid) |
yes |
|
pipeline_name |
string |
|
|
stage_id |
string (uuid) |
yes |
|
stage_api_key |
string |
|
|
stage_name |
string |
|
|
stage_category |
open, won, lost |
|
|
primary_contact_id |
string (uuid) or null |
|
|
primary_contact_name |
string or null |
|
|
owner_user_id |
string (uuid) or null |
yes |
|
owner_user_name |
string or null |
|
|
owner_team_id |
string (uuid) or null |
yes |
|
owner_team_name |
string or null |
|
|
owner_name |
string or null |
|
|
amount |
number or null |
yes |
|
amount_source |
string or null |
yes |
|
currency |
string |
yes |
|
base_currency |
string |
|
|
amount_base |
number or null |
|
|
expected_close_date |
string (date) or null |
yes |
|
closed_at |
string (date-time) or null |
yes |
|
close_rate |
number or null |
yes |
|
close_reason |
string or null |
yes |
|
source |
string or null |
yes |
|
source_campaign_id |
string (uuid) or null |
yes |
|
source_campaign_name |
string or null |
|
|
custom |
object |
yes |
|
custom_labels |
CustomLabels |
|
|
source_system |
string or null |
yes |
|
source_id |
string or null |
yes |
|
Note
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
company_id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
created_by |
string (uuid) or null |
yes |
|
updated_by |
string (uuid) or null |
yes |
|
deleted_at |
string (date-time) or null |
yes |
|
deleted_by |
string (uuid) or null |
yes |
|
body |
string |
yes |
|
owner_user_id |
string (uuid) or null |
yes |
|
owner_team_id |
string (uuid) or null |
yes |
|
source_system |
string or null |
yes |
|
source_id |
string or null |
yes |
|
contact_ids |
array of string (uuid) |
yes |
|
account_ids |
array of string (uuid) |
yes |
|
opportunity_ids |
array of string (uuid) |
yes |
|
case_ids |
array of string (uuid) |
yes |
|
Activity
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
company_id |
string (uuid) |
yes |
|
activity_type_id |
string (uuid) |
yes |
|
type_api_key |
string |
yes |
|
type_name |
string |
yes |
|
category |
task, meeting, call |
yes |
|
subject |
string |
yes |
|
description |
string or null |
yes |
at most 100000 characters |
owner_user_id |
string (uuid) or null |
yes |
|
owner_team_id |
string (uuid) or null |
yes |
|
due_date |
string (date) or null |
yes |
|
starts_at |
string (date-time) or null |
yes |
|
ends_at |
string (date-time) or null |
yes |
|
location |
string or null |
yes |
at most 500 characters |
done_at |
string (date-time) or null |
yes |
|
account_id |
string (uuid) or null |
yes |
|
opportunity_id |
string (uuid) or null |
yes |
|
case_id |
string (uuid) or null |
yes |
|
is_done |
boolean |
yes |
|
account_name |
string or null |
yes |
|
opportunity_name |
string or null |
yes |
|
case_title |
string or null |
|
|
case_display_number |
string or null |
|
|
primary_contact_id |
string (uuid) or null |
yes |
|
primary_contact_name |
string or null |
yes |
|
contact_ids |
array of string (uuid) |
yes |
|
contact_count |
number |
yes |
|
owner_user_name |
string or null |
yes |
|
owner_team_name |
string or null |
yes |
|
owner_name |
string or null |
yes |
|
source_system |
string or null |
yes |
|
source_id |
string or null |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
created_by |
string (uuid) or null |
yes |
|
updated_by |
string (uuid) or null |
yes |
|
deleted_at |
string (date-time) or null |
yes |
|
deleted_by |
string (uuid) or null |
yes |
|
recent_similar |
object or null |
|
|
recent_similar.id |
string (uuid) |
yes |
|
recent_similar.created_at |
string (date-time) |
yes |
|
recent_similar.primary_contact_name |
string or null |
yes |
|
recent_similar.opportunity_name |
string or null |
yes |
|
Case
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
company_id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
created_by |
string (uuid) or null |
yes |
|
updated_by |
string (uuid) or null |
yes |
|
deleted_at |
string (date-time) or null |
yes |
|
deleted_by |
string (uuid) or null |
yes |
|
case_number |
number |
yes |
|
display_number |
string |
|
|
title |
string |
yes |
|
description |
string or null |
yes |
|
contact_id |
string (uuid) or null |
yes |
|
contact_name |
string or null |
|
|
account_id |
string (uuid) or null |
yes |
|
account_name |
string or null |
|
|
opportunity_id |
string (uuid) or null |
yes |
|
opportunity_name |
string or null |
|
|
owner_user_id |
string (uuid) or null |
yes |
|
owner_user_name |
string or null |
|
|
owner_team_id |
string (uuid) or null |
yes |
|
owner_team_name |
string or null |
|
|
owner_name |
string or null |
|
|
status_id |
string (uuid) |
yes |
|
status_api_key |
string |
|
|
status_name |
string |
|
|
status_category |
open, waiting, closed |
|
|
status_order |
number |
|
|
priority |
low, normal, high, urgent |
yes |
|
priority_order |
number |
|
|
channel |
phone, email, web_form, chat, in_person, other or null |
yes |
|
resolved_at |
string (date-time) or null |
yes |
|
resolution |
string or null |
yes |
|
root_cause |
string or null |
yes |
|
age_days |
number |
|
|
resolution_hours |
number or null |
|
|
custom |
object |
yes |
|
custom_labels |
CustomLabels |
|
|
source_system |
string or null |
yes |
|
source_id |
string or null |
yes |
|
Campaign
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
company_id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
created_by |
string (uuid) or null |
yes |
|
updated_by |
string (uuid) or null |
yes |
|
deleted_at |
string (date-time) or null |
yes |
|
deleted_by |
string (uuid) or null |
yes |
|
name |
string |
yes |
|
type |
email, event, webinar, advertising, social, partner, other |
yes |
|
status |
planned, active, completed, cancelled |
yes |
|
start_date |
string (date) or null |
yes |
|
end_date |
string (date) or null |
yes |
|
budget |
number or null |
yes |
|
currency |
string |
yes |
|
base_currency |
string |
|
|
description |
string or null |
yes |
|
utm_campaign |
string or null |
yes |
|
owner_user_id |
string (uuid) or null |
yes |
|
owner_user_name |
string or null |
|
|
owner_team_id |
string (uuid) or null |
yes |
|
owner_team_name |
string or null |
|
|
owner_name |
string or null |
|
|
member_count |
number |
|
|
added_count |
number |
|
|
sent_count |
number |
|
|
responded_count |
number |
|
|
attended_count |
number |
|
|
deal_count |
number |
|
|
won_count |
number |
|
|
won_amount_base |
number |
|
|
source_system |
string or null |
yes |
|
source_id |
string or null |
yes |
|
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
contact_id |
string (uuid) |
yes |
|
email |
string |
yes |
|
email_normalized |
string |
yes |
|
label |
string |
yes |
|
is_primary |
boolean |
yes |
|
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
contact_id |
string (uuid) |
yes |
|
phone |
string |
yes |
|
phone_e164 |
string or null |
yes |
|
label |
string |
yes |
|
is_primary |
boolean |
yes |
|
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
type |
string |
yes |
|
street |
string or null |
yes |
|
postal_code |
string or null |
yes |
|
city |
string or null |
yes |
|
region |
string or null |
yes |
|
country |
string |
yes |
|
is_primary |
boolean |
yes |
|
contact_id |
string (uuid) |
yes |
|
AccountAddress
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
type |
string |
yes |
|
street |
string or null |
yes |
|
postal_code |
string or null |
yes |
|
city |
string or null |
yes |
|
region |
string or null |
yes |
|
country |
string |
yes |
|
is_primary |
boolean |
yes |
|
account_id |
string (uuid) |
yes |
|
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
opportunity_id |
string (uuid) |
yes |
|
contact_id |
string (uuid) |
yes |
|
role |
string or null |
yes |
|
is_primary |
boolean |
yes |
|
Affiliation
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
contact_id |
string (uuid) |
yes |
|
account_id |
string (uuid) |
yes |
|
job_title |
string or null |
yes |
|
start_date |
string (date) or null |
yes |
|
end_date |
string (date) or null |
yes |
|
is_primary |
boolean |
yes |
|
SearchResult
| Field |
Type |
Always present |
Notes |
type |
contact, account, opportunity, quote, product, case, campaign |
yes |
|
id |
string (uuid) |
yes |
|
name |
string |
yes |
|
detail |
string or null |
yes |
|
matched_on |
name, email, phone, account, number, code, utm_campaign |
yes |
|
score |
number |
yes |
|
tier |
integer |
yes |
1–3 |
account_id |
string (uuid) or null |
yes |
|
account_name |
string or null |
yes |
|
TimelineEntry
| Field |
Type |
Always present |
Notes |
occurred_at |
string (date-time) |
yes |
|
entry_type |
audit, status_change, note, activity, quote, document, case |
yes |
|
subject_type |
string |
yes |
|
subject_id |
string (uuid) |
yes |
|
action |
string or null |
yes |
|
changes |
any |
|
|
reason |
string or null |
yes |
|
operation_id |
string (uuid) or null |
yes |
|
via |
string or null |
yes |
|
actor_user_id |
string (uuid) or null |
yes |
|
actor_name |
string or null |
yes |
|
body |
string or null |
yes |
|
details |
object or null |
yes |
|
MergePreview
| Field |
Type |
Always present |
Notes |
type |
contact, account |
yes |
|
winner_id |
string (uuid) |
yes |
|
loser_id |
string (uuid) |
yes |
|
moves |
object |
yes |
|
UndoResult
| Field |
Type |
Always present |
Notes |
operation_id |
string (uuid) |
yes |
|
reversed |
number |
yes |
|
undone_operation_id |
string (uuid) |
yes |
|
records |
array of UndoneRecord |
yes |
The core records reversed, at most 5 |
UndoneRecord
| Field |
Type |
Always present |
Notes |
type |
string |
yes |
|
id |
string (uuid) |
yes |
|
action |
create, update, soft_delete, restore |
yes |
|
name |
string or null |
yes |
|
fields |
array of string |
yes |
Fields the undone operation changed (updates) |
stage_or_status |
string or null |
yes |
The deal stage or the status after the undo, when the undone operation changed it |
Share
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
user_id |
string (uuid) or null |
yes |
|
team_id |
string (uuid) or null |
yes |
|
access |
string |
yes |
|
created_at |
string (date-time) |
yes |
|
DataModel
| Field |
Type |
Always present |
Notes |
objects |
object |
yes |
|
pipelines |
array of Pipeline |
yes |
|
statuses |
array of Status |
yes |
|
activity_types |
array of ActivityType |
yes |
|
CustomField
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
archived_at |
string (date-time) or null |
yes |
|
object_type |
string |
yes |
|
api_key |
string |
yes |
|
label |
string |
yes |
|
description |
string or null |
yes |
|
field_type |
string |
yes |
|
is_required |
boolean |
yes |
|
config |
object |
yes |
|
is_indexed |
boolean |
yes |
|
sort_order |
number |
yes |
|
options |
array of CustomFieldOption |
|
|
CustomFieldOption
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
archived_at |
string (date-time) or null |
yes |
|
field_id |
string (uuid) |
yes |
|
api_key |
string |
yes |
|
label |
string |
yes |
|
sort_order |
number |
yes |
|
Pipeline
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
archived_at |
string (date-time) or null |
yes |
|
name |
string |
yes |
|
is_default |
boolean |
yes |
|
sort_order |
number |
yes |
|
stages |
array of PipelineStage |
|
|
PipelineStage
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
archived_at |
string (date-time) or null |
yes |
|
pipeline_id |
string (uuid) |
yes |
|
api_key |
string |
yes |
|
name |
string |
yes |
|
description |
string or null |
yes |
|
category |
string |
yes |
|
sort_order |
number |
yes |
|
Status
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
archived_at |
string (date-time) or null |
yes |
|
object_type |
string |
yes |
|
api_key |
string |
yes |
|
name |
string |
yes |
|
description |
string or null |
yes |
|
category |
string |
yes |
|
sort_order |
number |
yes |
|
is_default |
boolean |
yes |
|
ActivityType
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
api_key |
string |
yes |
|
name |
string |
yes |
|
description |
string or null |
yes |
|
category |
task, meeting, call |
yes |
|
sort_order |
number |
yes |
|
is_default |
boolean |
yes |
|
archived_at |
string (date-time) or null |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
CompanySummary
| Field |
Type |
Always present |
Notes |
company_id |
string (uuid) |
yes |
|
company_name |
string |
yes |
|
role |
string |
yes |
|
is_admin |
boolean |
yes |
|
is_active |
boolean |
yes |
|
Invitation
| Field |
Type |
Always present |
Notes |
user_id |
string (uuid) |
yes |
|
company_id |
string (uuid) |
yes |
|
company_name |
string |
yes |
|
role |
string |
yes |
|
is_admin |
boolean |
yes |
|
User
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
kind |
person, service |
yes |
|
email |
string or null |
yes |
|
display_name |
string |
yes |
|
role |
rep, manager, director |
yes |
|
is_admin |
boolean |
yes |
|
language |
string or null |
yes |
|
locale |
string or null |
yes |
|
deactivated_at |
string (date-time) or null |
yes |
|
pending_invitation |
boolean |
yes |
|
SavedView
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
company_id |
string (uuid) |
yes |
|
object_type |
contact, account, opportunity, activity, quote, product, case, campaign |
yes |
|
name |
string |
yes |
|
owner_user_id |
string (uuid) |
yes |
|
visibility |
private, team, company |
yes |
|
team_id |
string (uuid) or null |
yes |
|
layout |
list, board |
yes |
|
definition |
object |
yes |
|
definition.version |
1 |
yes |
|
definition.filters |
object |
yes |
|
definition.sort |
array of string |
yes |
at most 1 items |
definition.columns |
array of string |
yes |
at most 30 items |
sort_order |
number |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
deleted_at |
string (date-time) or null |
yes |
|
Product
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
company_id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
created_by |
string (uuid) or null |
yes |
|
updated_by |
string (uuid) or null |
yes |
|
deleted_at |
string (date-time) or null |
yes |
|
deleted_by |
string (uuid) or null |
yes |
|
name |
string |
yes |
|
code |
string or null |
yes |
|
description |
string or null |
yes |
|
unit |
string or null |
yes |
|
default_vat_rate |
number |
yes |
|
is_active |
boolean |
yes |
|
current_prices |
object |
yes |
|
source_system |
string or null |
yes |
|
source_id |
string or null |
yes |
|
prices |
array of ProductPrice |
|
|
ProductPrice
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
product_id |
string (uuid) |
yes |
|
currency |
string |
yes |
|
unit_price |
number |
yes |
|
valid_from |
string (date) |
yes |
|
valid_to |
string (date) or null |
yes |
|
created_at |
string (date-time) |
yes |
|
Document
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
company_id |
string (uuid) |
yes |
|
name |
string |
yes |
|
kind |
upload, link |
yes |
|
content_type |
string or null |
yes |
|
size_bytes |
number or null |
yes |
|
url |
string or null |
yes |
|
link_provider |
sharepoint, onedrive, other or null |
yes |
|
created_by |
string (uuid) or null |
yes |
|
created_by_name |
string or null |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
deleted_at |
string (date-time) or null |
yes |
|
source_system |
string or null |
yes |
|
source_id |
string or null |
yes |
|
links |
object |
yes |
|
links.contact_ids |
array of string (uuid) |
yes |
|
links.account_ids |
array of string (uuid) |
yes |
|
links.opportunity_ids |
array of string (uuid) |
yes |
|
links.quote_ids |
array of string (uuid) |
yes |
|
links.case_ids |
array of string (uuid) |
yes |
|
SignedLink
| Field |
Type |
Always present |
Notes |
url |
string |
yes |
|
expires_at |
string (date-time) |
yes |
|
Quote
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
company_id |
string (uuid) |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
created_by |
string (uuid) or null |
yes |
|
updated_by |
string (uuid) or null |
yes |
|
deleted_at |
string (date-time) or null |
yes |
|
deleted_by |
string (uuid) or null |
yes |
|
opportunity_id |
string (uuid) |
yes |
|
opportunity_name |
string or null |
yes |
|
account_id |
string (uuid) or null |
yes |
|
account_name |
string or null |
yes |
|
quote_number |
number |
yes |
|
display_number |
string |
yes |
|
name |
string |
yes |
|
currency |
string |
yes |
|
status_id |
string (uuid) |
yes |
|
status_api_key |
string |
yes |
|
status_name |
string |
yes |
|
status_category |
draft, sent, accepted, rejected, expired |
yes |
|
is_active |
boolean |
yes |
|
contact_id |
string (uuid) or null |
yes |
|
contact_name |
string or null |
yes |
|
accepted_version_id |
string (uuid) or null |
yes |
|
latest_version_id |
string (uuid) or null |
yes |
|
version_number |
number or null |
yes |
|
quote_date |
string (date) or null |
yes |
|
valid_until |
string (date) or null |
yes |
|
language |
en, fi or null |
yes |
|
subtotal_amount |
number or null |
yes |
|
vat_amount |
number or null |
yes |
|
total_amount |
number or null |
yes |
|
sent_at |
string (date-time) or null |
yes |
|
pdf_document_id |
string (uuid) or null |
yes |
|
custom |
object |
yes |
|
source_system |
string or null |
yes |
|
source_id |
string or null |
yes |
|
latest_version |
QuoteVersion |
|
|
versions |
array of QuoteVersion |
|
|
QuoteVersion
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
quote_id |
string (uuid) |
yes |
|
version_number |
number |
yes |
|
quote_date |
string (date) |
yes |
|
valid_until |
string (date) or null |
yes |
|
language |
en, fi |
yes |
|
intro_text |
string or null |
yes |
|
terms_text |
string or null |
yes |
|
subtotal_amount |
number |
yes |
|
vat_amount |
number |
yes |
|
total_amount |
number |
yes |
|
frozen_at |
string (date-time) or null |
yes |
|
pdf_document_id |
string (uuid) or null |
yes |
|
created_at |
string (date-time) |
yes |
|
lines |
array of QuoteLine |
|
|
vat_breakdown |
array of VatBreakdown |
|
|
QuoteLine
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
sort_order |
number |
yes |
|
product_id |
string (uuid) or null |
yes |
|
name |
string |
yes |
|
description |
string or null |
yes |
|
quantity |
number |
yes |
|
unit |
string or null |
yes |
|
unit_price |
number |
yes |
|
discount_percent |
number |
yes |
|
vat_rate |
number |
yes |
|
line_subtotal |
number |
yes |
|
line_vat_amount |
number |
yes |
|
line_total |
number |
yes |
|
VatBreakdown
| Field |
Type |
Always present |
Notes |
vat_rate |
number |
yes |
|
base |
number |
yes |
|
vat |
number |
yes |
|
Company
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
name |
string |
yes |
|
base_currency |
string |
yes |
|
country |
string |
yes |
|
default_language |
string |
yes |
|
plan_key |
string |
yes |
|
quote_number_prefix |
string |
yes |
|
case_number_prefix |
string |
yes |
|
legal_name |
string or null |
yes |
|
business_id |
string or null |
yes |
|
vat_id |
string or null |
yes |
|
street_address |
string or null |
yes |
|
postal_code |
string or null |
yes |
|
city |
string or null |
yes |
|
email |
string or null |
yes |
|
phone |
string or null |
yes |
|
website |
string or null |
yes |
|
has_logo |
boolean |
yes |
|
logo_size_bytes |
number or null |
yes |
|
Team
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
name |
string |
yes |
|
description |
string or null |
yes |
|
archived_at |
string (date-time) or null |
yes |
|
member_count |
integer |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
members |
array of TeamMember |
|
|
TeamMember
| Field |
Type |
Always present |
Notes |
user_id |
string (uuid) |
yes |
|
display_name |
string |
yes |
|
email |
string or null |
yes |
|
role |
rep, manager, director |
yes |
|
is_lead |
boolean |
yes |
|
deactivated_at |
string (date-time) or null |
yes |
|
CampaignMember
| Field |
Type |
Always present |
Notes |
id |
string (uuid) |
yes |
|
campaign_id |
string (uuid) |
yes |
|
contact_id |
string (uuid) |
yes |
|
contact_name |
string |
yes |
|
primary_email |
string or null |
yes |
|
primary_account_name |
string or null |
yes |
|
member_status |
added, sent, responded, attended |
yes |
|
responded_at |
string (date-time) or null |
yes |
|
created_at |
string (date-time) |
yes |
|
updated_at |
string (date-time) |
yes |
|
AddCampaignMembersResult
| Field |
Type |
Always present |
Notes |
added |
number |
yes |
|
skipped |
number |
yes |
|
updated |
number |
yes |
|
contact_ids |
array of string (uuid) |
yes |
|
RecycleBinItem
| Field |
Type |
Always present |
Notes |
type |
contact, account, opportunity, case, campaign, activity, note, quote, product, document |
yes |
|
id |
string (uuid) |
yes |
|
name |
string |
yes |
|
deleted_at |
string (date-time) |
yes |
|
deleted_by |
string (uuid) or null |
yes |
|
deleted_by_name |
string or null |
yes |
|
purge_on |
string (date-time) |
yes |
|
merged_into_id |
string (uuid) or null |
yes |
|
merged_into_name |
string or null |
yes |
|
This page as Markdown