Account
Accounts represent companies or organizations in Lightfield. Each account can have contacts, opportunities, tasks, and notes associated with it.
Get account field definitions
Create an account
Update an account
Retrieve an account
List accounts
ModelsExpand Collapse
AccountCreateResponse { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
AccountDefinitionsResponse { fieldDefinitions, objectType, relationshipDefinitions }
fieldDefinitions: Record<string, FieldDefinitions>Map of field keys to their definitions, including both system and custom fields.
Map of field keys to their definitions, including both system and custom fields.
typeConfiguration: TypeConfiguration { currency, handleService, multipleValues, 2 more } Type-specific configuration (e.g. select options, currency code).
Type-specific configuration (e.g. select options, currency code).
AccountListResponse { data, object, totalCount }
data: Array<Data>Array of entity objects for the current page.
Array of entity objects for the current page.
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
AccountRetrieveResponse { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
AccountUpdateResponse { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.