Account
Accounts represent companies or organizations in Lightfield. Each account can have contacts, opportunities, tasks, and notes associated with it.
Get account field definitions
Get field value history
Create an account
Update an account
Delete an account
ModelsExpand Collapse
class AccountCreateResponse: …
fields: Dict[str, 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.
class AccountDefinitionsResponse: …
field_definitions: Dict[str, 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.
type_configuration: FieldDefinitionsTypeConfigurationType-specific configuration (e.g. select options, currency code).
Type-specific configuration (e.g. select options, currency code).
class AccountDeleteResponse: …
fields: Dict[str, 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.
class AccountFieldHistoryResponse: …
data: List[Data]Recorded values for the field, newest first.
Recorded values for the field, newest first.
Human-readable rendering of the value (e.g. a select option label), suitable for display.
True for the record’s original value. Only set when the full history fits in the response (never on a truncated/paginated page).
class AccountListResponse: …
data: List[Data]Array of entity objects for the current page.
Array of entity objects for the current page.
fields: Dict[str, DataFields]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.
class AccountRetrieveResponse: …
fields: Dict[str, 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.
class AccountUpdateResponse: …
fields: Dict[str, 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.