Skip to content

Object

Custom objects and relationships are available on Pro and Growth plans. Records can be fetched and manipulated via these endpoints, and definitions can be fetched to discover the available custom object types in the system.

Create a custom object record
client.Object.New(ctx, entitySlug, body) (*ObjectCreateResponse, error)
POST/v1/objects/{entitySlug}/values
Get a custom object record
client.Object.Get(ctx, id, query) (*ObjectRetrieveResponseUnion, error)
GET/v1/objects/{entitySlug}/values/{id}
Update a custom object record
client.Object.Update(ctx, id, params) (*ObjectUpdateResponse, error)
POST/v1/objects/{entitySlug}/values/{id}
Delete a custom object record
client.Object.Delete(ctx, id, params) (*ObjectDeleteResponse, error)
DELETE/v1/objects/{entitySlug}/values/{id}
Restore a custom object record
client.Object.Restore(ctx, id, params) (*ObjectRestoreResponse, error)
POST/v1/objects/{entitySlug}/values/{id}/restore
List custom object records
client.Object.List(ctx, entitySlug, query) (*ObjectListResponse, error)
GET/v1/objects/{entitySlug}
Get definitions for a custom object type
client.Object.Definitions(ctx, entitySlug, query) (*ObjectDefinitionsResponse, error)
GET/v1/objects/{entitySlug}/definitions
List custom object types
client.Object.ListDefinitions(ctx) (*ObjectListDefinitionsResponse, error)
GET/v1/objects
Get field value history for a custom object record
client.Object.FieldHistory(ctx, fieldKey, params) (*ObjectFieldHistoryResponse, error)
GET/v1/objects/{entitySlug}/values/{id}/fields/{fieldKey}/history
ModelsExpand Collapse
type ObjectCreateResponse struct{…}
ID string

Unique identifier for the entity.

CreatedAt string

ISO 8601 timestamp of when the entity was created.

Fields map[string, ObjectCreateResponseField]

Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.

Value ObjectCreateResponseFieldValueUnion

The field value, or null if unset.

One of the following:
string
float64
bool
type ObjectCreateResponseFieldValueArray []string
type ObjectCreateResponseFieldValueAddress struct{…}
City stringOptional

City name.

Country stringOptional

2-letter ISO 3166-1 alpha-2 country code.

Latitude float64Optional

Latitude coordinate.

Longitude float64Optional

Longitude coordinate.

PostalCode stringOptional

Postal or ZIP code.

State stringOptional

State or province.

Street stringOptional

Street address line 1.

Street2 stringOptional

Street address line 2.

type ObjectCreateResponseFieldValueFullName struct{…}
FirstName stringOptional

The contact’s first name.

LastName stringOptional

The contact’s last name.

ValueType string

The data type of the field.

One of the following:
const ObjectCreateResponseFieldValueTypeAddress ObjectCreateResponseFieldValueType = "ADDRESS"
const ObjectCreateResponseFieldValueTypeCheckbox ObjectCreateResponseFieldValueType = "CHECKBOX"
const ObjectCreateResponseFieldValueTypeCurrency ObjectCreateResponseFieldValueType = "CURRENCY"
const ObjectCreateResponseFieldValueTypeDate ObjectCreateResponseFieldValueType = "DATE"
const ObjectCreateResponseFieldValueTypeDatetime ObjectCreateResponseFieldValueType = "DATETIME"
const ObjectCreateResponseFieldValueTypeEmail ObjectCreateResponseFieldValueType = "EMAIL"
const ObjectCreateResponseFieldValueTypeFullName ObjectCreateResponseFieldValueType = "FULL_NAME"
const ObjectCreateResponseFieldValueTypeMarkdown ObjectCreateResponseFieldValueType = "MARKDOWN"
const ObjectCreateResponseFieldValueTypeMultiSelect ObjectCreateResponseFieldValueType = "MULTI_SELECT"
const ObjectCreateResponseFieldValueTypeNumber ObjectCreateResponseFieldValueType = "NUMBER"
const ObjectCreateResponseFieldValueTypeSingleSelect ObjectCreateResponseFieldValueType = "SINGLE_SELECT"
const ObjectCreateResponseFieldValueTypeSocialHandle ObjectCreateResponseFieldValueType = "SOCIAL_HANDLE"
const ObjectCreateResponseFieldValueTypeTelephone ObjectCreateResponseFieldValueType = "TELEPHONE"
const ObjectCreateResponseFieldValueTypeText ObjectCreateResponseFieldValueType = "TEXT"
const ObjectCreateResponseFieldValueTypeURL ObjectCreateResponseFieldValueType = "URL"
const ObjectCreateResponseFieldValueTypeHTML ObjectCreateResponseFieldValueType = "HTML"
Relationships map[string, ObjectCreateResponseRelationship]

Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact). A self-referential relationship keeps its merged values and includes optional directional values. List filters select the current record’s role with :asSource or :asDestination, for example ?parent:asSource[contains]=account_id.

Cardinality string

Whether the relationship is has_one or has_many.

ObjectType string

The type of the related object (e.g. account, contact).

Values []string

IDs of the related entities.

Directions ObjectCreateResponseRelationshipDirectionsOptional

Directional values for a self-referential relationship. List filters use the relationship key with :asSource or :asDestination; writes continue to use the bare key.

AsDestination ObjectCreateResponseRelationshipDirectionsAsDestination

The current record is the destination (incoming) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectCreateResponseRelationshipDirectionsAsDestinationCardinalityHasOne ObjectCreateResponseRelationshipDirectionsAsDestinationCardinality = "HAS_ONE"
const ObjectCreateResponseRelationshipDirectionsAsDestinationCardinalityHasMany ObjectCreateResponseRelationshipDirectionsAsDestinationCardinality = "HAS_MANY"
Values []string

IDs of the related entities in this direction.

AsSource ObjectCreateResponseRelationshipDirectionsAsSource

The current record is the source (outgoing) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectCreateResponseRelationshipDirectionsAsSourceCardinalityHasOne ObjectCreateResponseRelationshipDirectionsAsSourceCardinality = "HAS_ONE"
const ObjectCreateResponseRelationshipDirectionsAsSourceCardinalityHasMany ObjectCreateResponseRelationshipDirectionsAsSourceCardinality = "HAS_MANY"
Values []string

IDs of the related entities in this direction.

UpdatedAt string

ISO 8601 timestamp of when the entity was last updated, or null.

ExternalID stringOptional

External identifier for the entity, or null if unset.

type ObjectDefinitionsResponse struct{…}
FieldDefinitions map[string, ObjectDefinitionsResponseFieldDefinition]

Map of field keys to their definitions, including both system and custom fields.

Archived bool

Whether the field definition is archived.

ArchivedAt Time

When the field definition was archived, or null if active.

formatdate-time
Description string

Description of the field, or null.

Label string

Human-readable display name of the field.

TypeConfiguration ObjectDefinitionsResponseFieldDefinitionTypeConfiguration

Type-specific configuration (e.g. select options, currency code). A key the field type does not support is absent; a supported key with nothing set is null.

Currency stringOptional

ISO 4217 3-letter currency code. Present on CURRENCY fields, absent on every other type.

DecimalPlaces int64Optional

Number of decimal places values carry, or null when none is set. Present on NUMBER and CURRENCY fields, absent on every other type.

minimum-9007199254740991
maximum9007199254740991
HandleService stringOptional

Social platform associated with this handle field, or null when none is set. Present on SOCIAL_HANDLE fields, absent on every other type.

One of the following:
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationHandleServiceTwitter ObjectDefinitionsResponseFieldDefinitionTypeConfigurationHandleService = "TWITTER"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationHandleServiceLinkedin ObjectDefinitionsResponseFieldDefinitionTypeConfigurationHandleService = "LINKEDIN"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationHandleServiceFacebook ObjectDefinitionsResponseFieldDefinitionTypeConfigurationHandleService = "FACEBOOK"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationHandleServiceInstagram ObjectDefinitionsResponseFieldDefinitionTypeConfigurationHandleService = "INSTAGRAM"
MultipleValues boolOptional

Whether this field accepts multiple values. Present on EMAIL, TELEPHONE and URL fields, absent on every other type.

Options []ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionOptional

Available options. Always present on SINGLE_SELECT and MULTI_SELECT fields, as an empty list when there are none. Absent on every other type.

ID string

Unique identifier of the select option.

Label string

Human-readable display name of the option.

Category stringOptional

Lifecycle group of the option, in-progress (ACTIVE) or done (COMPLETED), or null when none is set. Absent on selects whose options are not grouped.

One of the following:
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionCategoryActive ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionCategory = "ACTIVE"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionCategoryCompleted ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionCategory = "COMPLETED"
Color stringOptional

Color the option is displayed in, GRAY when none was chosen. Absent on selects whose options take no color.

One of the following:
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColorRed ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColor = "RED"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColorOrange ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColor = "ORANGE"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColorYellow ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColor = "YELLOW"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColorLime ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColor = "LIME"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColorGreen ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColor = "GREEN"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColorBlue ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColor = "BLUE"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColorIndigo ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColor = "INDIGO"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColorPurple ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColor = "PURPLE"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColorCopper ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColor = "COPPER"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColorGray ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionColor = "GRAY"
Description stringOptional

Description of the option, or null.

ForecastPercentage float64Optional

Forecast weighting of the option from 0 to 100, or null when none is set. Absent on selects whose options take no forecast.

Icon stringOptional

Icon the option is displayed with, or null when none is set. Present only on $stage.

One of the following:
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIconBacklog ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIcon = "BACKLOG"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIconQualification ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIcon = "QUALIFICATION"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIconDiscovery ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIcon = "DISCOVERY"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIconActive ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIcon = "ACTIVE"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIconNegotiation ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIcon = "NEGOTIATION"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIconClosedWon ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIcon = "CLOSED_WON"
const ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIconClosedLost ObjectDefinitionsResponseFieldDefinitionTypeConfigurationOptionIcon = "CLOSED_LOST"
ParentID stringOptional

For a dependent select, the ID of the option in the parent field named by typeConfiguration.parentFieldKey that owns this option. Absent for ordinary selects.

ParentFieldKey stringOptional

For a dependent select, the field key whose selected option determines which of this field’s options apply. Absent for ordinary selects.

Unique boolOptional

Whether values for this field must be unique, or null when not set. Present on EMAIL, TELEPHONE, URL and SOCIAL_HANDLE fields, absent on every other type.

ValueType string

Data type of the field.

One of the following:
const ObjectDefinitionsResponseFieldDefinitionValueTypeAddress ObjectDefinitionsResponseFieldDefinitionValueType = "ADDRESS"
const ObjectDefinitionsResponseFieldDefinitionValueTypeCheckbox ObjectDefinitionsResponseFieldDefinitionValueType = "CHECKBOX"
const ObjectDefinitionsResponseFieldDefinitionValueTypeCurrency ObjectDefinitionsResponseFieldDefinitionValueType = "CURRENCY"
const ObjectDefinitionsResponseFieldDefinitionValueTypeDate ObjectDefinitionsResponseFieldDefinitionValueType = "DATE"
const ObjectDefinitionsResponseFieldDefinitionValueTypeDatetime ObjectDefinitionsResponseFieldDefinitionValueType = "DATETIME"
const ObjectDefinitionsResponseFieldDefinitionValueTypeEmail ObjectDefinitionsResponseFieldDefinitionValueType = "EMAIL"
const ObjectDefinitionsResponseFieldDefinitionValueTypeFullName ObjectDefinitionsResponseFieldDefinitionValueType = "FULL_NAME"
const ObjectDefinitionsResponseFieldDefinitionValueTypeMarkdown ObjectDefinitionsResponseFieldDefinitionValueType = "MARKDOWN"
const ObjectDefinitionsResponseFieldDefinitionValueTypeMultiSelect ObjectDefinitionsResponseFieldDefinitionValueType = "MULTI_SELECT"
const ObjectDefinitionsResponseFieldDefinitionValueTypeNumber ObjectDefinitionsResponseFieldDefinitionValueType = "NUMBER"
const ObjectDefinitionsResponseFieldDefinitionValueTypeSingleSelect ObjectDefinitionsResponseFieldDefinitionValueType = "SINGLE_SELECT"
const ObjectDefinitionsResponseFieldDefinitionValueTypeSocialHandle ObjectDefinitionsResponseFieldDefinitionValueType = "SOCIAL_HANDLE"
const ObjectDefinitionsResponseFieldDefinitionValueTypeTelephone ObjectDefinitionsResponseFieldDefinitionValueType = "TELEPHONE"
const ObjectDefinitionsResponseFieldDefinitionValueTypeText ObjectDefinitionsResponseFieldDefinitionValueType = "TEXT"
const ObjectDefinitionsResponseFieldDefinitionValueTypeURL ObjectDefinitionsResponseFieldDefinitionValueType = "URL"
const ObjectDefinitionsResponseFieldDefinitionValueTypeHTML ObjectDefinitionsResponseFieldDefinitionValueType = "HTML"
ID stringOptional

Unique identifier of the field definition.

AIFillable stringOptional

Whether AI fills this field automatically (ON), only suggests values (SUGGEST), or leaves it alone (OFF). Absent on built-in fields that have no id.

One of the following:
const ObjectDefinitionsResponseFieldDefinitionAIFillableOn ObjectDefinitionsResponseFieldDefinitionAIFillable = "ON"
const ObjectDefinitionsResponseFieldDefinitionAIFillableOff ObjectDefinitionsResponseFieldDefinitionAIFillable = "OFF"
const ObjectDefinitionsResponseFieldDefinitionAIFillableSuggest ObjectDefinitionsResponseFieldDefinitionAIFillable = "SUGGEST"
AIFillablePrompt stringOptional

Instructions AI follows when filling this field, or null when none are set. Absent on built-in fields that have no id.

Formula stringOptional

Formula a calculated field evaluates, with fields and relationships referenced by key. Null for fields that are not calculated. Absent on built-in fields that have no id.

ReadOnly boolOptional

true for fields that are not writable via the API (e.g. AI-generated summaries, calculated fields). false or absent for writable fields.

ValueSource stringOptional

Whether values are entered (MANUAL) or calculated from a formula (COMPUTED). Absent on built-in fields that have no id.

One of the following:
const ObjectDefinitionsResponseFieldDefinitionValueSourceManual ObjectDefinitionsResponseFieldDefinitionValueSource = "MANUAL"
const ObjectDefinitionsResponseFieldDefinitionValueSourceComputed ObjectDefinitionsResponseFieldDefinitionValueSource = "COMPUTED"
ObjectType string

The object type these definitions belong to (e.g. account).

RelationshipDefinitions map[string, ObjectDefinitionsResponseRelationshipDefinition]

Map of relationship keys to their definitions. Self-referential relationships include optional directional metadata on the bare definition.

Archived bool

Whether the relationship definition is archived.

ArchivedAt Time

When the relationship definition was archived, or null if active.

formatdate-time
Cardinality string

Whether this is a has_one or has_many relationship.

One of the following:
const ObjectDefinitionsResponseRelationshipDefinitionCardinalityHasOne ObjectDefinitionsResponseRelationshipDefinitionCardinality = "HAS_ONE"
const ObjectDefinitionsResponseRelationshipDefinitionCardinalityHasMany ObjectDefinitionsResponseRelationshipDefinitionCardinality = "HAS_MANY"
Description string

Description of the relationship, or null.

Label string

Human-readable display name of the relationship, as it reads from this object type.

ObjectType string

The type of the related object (e.g. account, contact).

ID stringOptional

Unique identifier of the relationship definition.

Directions ObjectDefinitionsResponseRelationshipDefinitionDirectionsOptional

Directional metadata for a self-referential relationship. List filters use the relationship key with :asSource or :asDestination; writes continue to use the bare key.

AsDestination ObjectDefinitionsResponseRelationshipDefinitionDirectionsAsDestination

The current record is the destination (incoming) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectDefinitionsResponseRelationshipDefinitionDirectionsAsDestinationCardinalityHasOne ObjectDefinitionsResponseRelationshipDefinitionDirectionsAsDestinationCardinality = "HAS_ONE"
const ObjectDefinitionsResponseRelationshipDefinitionDirectionsAsDestinationCardinalityHasMany ObjectDefinitionsResponseRelationshipDefinitionDirectionsAsDestinationCardinality = "HAS_MANY"
Label string

Human-readable display name for this endpoint direction.

AsSource ObjectDefinitionsResponseRelationshipDefinitionDirectionsAsSource

The current record is the source (outgoing) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectDefinitionsResponseRelationshipDefinitionDirectionsAsSourceCardinalityHasOne ObjectDefinitionsResponseRelationshipDefinitionDirectionsAsSourceCardinality = "HAS_ONE"
const ObjectDefinitionsResponseRelationshipDefinitionDirectionsAsSourceCardinalityHasMany ObjectDefinitionsResponseRelationshipDefinitionDirectionsAsSourceCardinality = "HAS_MANY"
Label string

Human-readable display name for this endpoint direction.

GroupKey stringOptional

Key of the relationship group this relationship belongs to, as listed under relationshipGroupDefinitions. Absent when the relationship is not in a group.

Inverse ObjectDefinitionsResponseRelationshipDefinitionInverseOptional

How the same relationship reads from the related object type.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectDefinitionsResponseRelationshipDefinitionInverseCardinalityHasOne ObjectDefinitionsResponseRelationshipDefinitionInverseCardinality = "HAS_ONE"
const ObjectDefinitionsResponseRelationshipDefinitionInverseCardinalityHasMany ObjectDefinitionsResponseRelationshipDefinitionInverseCardinality = "HAS_MANY"
Label string

Human-readable display name for this endpoint direction.

RelationshipGroupDefinitions map[string, ObjectDefinitionsResponseRelationshipGroupDefinition]

Map of relationship group keys to their definitions. A group collects relationships between the same two object types, such as the roles a contact can hold on an opportunity. Relationships name their group with groupKey.

ID string

Unique identifier of the relationship group.

Archived bool

Whether the relationship group is archived.

ArchivedAt Time

When the relationship group was archived, or null if active.

formatdate-time
Inverse ObjectDefinitionsResponseRelationshipGroupDefinitionInverse

How the same group reads from the related object type.

Label string

Human-readable display name of the group, as it reads from the related object type.

Label string

Human-readable display name of the group, as it reads from this object type.

ObjectType string

The type of the related object every relationship in the group points to.

type ObjectDeleteResponse struct{…}
ID string

Unique identifier for the entity.

CreatedAt string

ISO 8601 timestamp of when the entity was created.

Fields map[string, ObjectDeleteResponseField]

Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.

Value ObjectDeleteResponseFieldValueUnion

The field value, or null if unset.

One of the following:
string
float64
bool
type ObjectDeleteResponseFieldValueArray []string
type ObjectDeleteResponseFieldValueAddress struct{…}
City stringOptional

City name.

Country stringOptional

2-letter ISO 3166-1 alpha-2 country code.

Latitude float64Optional

Latitude coordinate.

Longitude float64Optional

Longitude coordinate.

PostalCode stringOptional

Postal or ZIP code.

State stringOptional

State or province.

Street stringOptional

Street address line 1.

Street2 stringOptional

Street address line 2.

type ObjectDeleteResponseFieldValueFullName struct{…}
FirstName stringOptional

The contact’s first name.

LastName stringOptional

The contact’s last name.

ValueType string

The data type of the field.

One of the following:
const ObjectDeleteResponseFieldValueTypeAddress ObjectDeleteResponseFieldValueType = "ADDRESS"
const ObjectDeleteResponseFieldValueTypeCheckbox ObjectDeleteResponseFieldValueType = "CHECKBOX"
const ObjectDeleteResponseFieldValueTypeCurrency ObjectDeleteResponseFieldValueType = "CURRENCY"
const ObjectDeleteResponseFieldValueTypeDate ObjectDeleteResponseFieldValueType = "DATE"
const ObjectDeleteResponseFieldValueTypeDatetime ObjectDeleteResponseFieldValueType = "DATETIME"
const ObjectDeleteResponseFieldValueTypeEmail ObjectDeleteResponseFieldValueType = "EMAIL"
const ObjectDeleteResponseFieldValueTypeFullName ObjectDeleteResponseFieldValueType = "FULL_NAME"
const ObjectDeleteResponseFieldValueTypeMarkdown ObjectDeleteResponseFieldValueType = "MARKDOWN"
const ObjectDeleteResponseFieldValueTypeMultiSelect ObjectDeleteResponseFieldValueType = "MULTI_SELECT"
const ObjectDeleteResponseFieldValueTypeNumber ObjectDeleteResponseFieldValueType = "NUMBER"
const ObjectDeleteResponseFieldValueTypeSingleSelect ObjectDeleteResponseFieldValueType = "SINGLE_SELECT"
const ObjectDeleteResponseFieldValueTypeSocialHandle ObjectDeleteResponseFieldValueType = "SOCIAL_HANDLE"
const ObjectDeleteResponseFieldValueTypeTelephone ObjectDeleteResponseFieldValueType = "TELEPHONE"
const ObjectDeleteResponseFieldValueTypeText ObjectDeleteResponseFieldValueType = "TEXT"
const ObjectDeleteResponseFieldValueTypeURL ObjectDeleteResponseFieldValueType = "URL"
const ObjectDeleteResponseFieldValueTypeHTML ObjectDeleteResponseFieldValueType = "HTML"
Relationships map[string, ObjectDeleteResponseRelationship]

Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact). A self-referential relationship keeps its merged values and includes optional directional values. List filters select the current record’s role with :asSource or :asDestination, for example ?parent:asSource[contains]=account_id.

Cardinality string

Whether the relationship is has_one or has_many.

ObjectType string

The type of the related object (e.g. account, contact).

Values []string

IDs of the related entities.

Directions ObjectDeleteResponseRelationshipDirectionsOptional

Directional values for a self-referential relationship. List filters use the relationship key with :asSource or :asDestination; writes continue to use the bare key.

AsDestination ObjectDeleteResponseRelationshipDirectionsAsDestination

The current record is the destination (incoming) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectDeleteResponseRelationshipDirectionsAsDestinationCardinalityHasOne ObjectDeleteResponseRelationshipDirectionsAsDestinationCardinality = "HAS_ONE"
const ObjectDeleteResponseRelationshipDirectionsAsDestinationCardinalityHasMany ObjectDeleteResponseRelationshipDirectionsAsDestinationCardinality = "HAS_MANY"
Values []string

IDs of the related entities in this direction.

AsSource ObjectDeleteResponseRelationshipDirectionsAsSource

The current record is the source (outgoing) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectDeleteResponseRelationshipDirectionsAsSourceCardinalityHasOne ObjectDeleteResponseRelationshipDirectionsAsSourceCardinality = "HAS_ONE"
const ObjectDeleteResponseRelationshipDirectionsAsSourceCardinalityHasMany ObjectDeleteResponseRelationshipDirectionsAsSourceCardinality = "HAS_MANY"
Values []string

IDs of the related entities in this direction.

UpdatedAt string

ISO 8601 timestamp of when the entity was last updated, or null.

ExternalID stringOptional

External identifier for the entity, or null if unset.

type ObjectFieldHistoryResponse struct{…}
Data []ObjectFieldHistoryResponseData

Recorded values for the field, newest first.

DisplayValue string

Human-readable rendering of the value (e.g. a select option label), suitable for display.

IsCreate bool

True for the record’s original value. Only set when the full history fits in the response (never on a truncated/paginated page).

RecordedAt string

ISO 8601 timestamp of when this value was recorded.

Value ObjectFieldHistoryResponseDataValueUnion

The field value, or null if unset.

One of the following:
string
float64
bool
type ObjectFieldHistoryResponseDataValueArray []string
type ObjectFieldHistoryResponseDataValueAddress struct{…}
City stringOptional

City name.

Country stringOptional

2-letter ISO 3166-1 alpha-2 country code.

Latitude float64Optional

Latitude coordinate.

Longitude float64Optional

Longitude coordinate.

PostalCode stringOptional

Postal or ZIP code.

State stringOptional

State or province.

Street stringOptional

Street address line 1.

Street2 stringOptional

Street address line 2.

type ObjectFieldHistoryResponseDataValueFullName struct{…}
FirstName stringOptional

The contact’s first name.

LastName stringOptional

The contact’s last name.

ValueType string

The data type of the field.

One of the following:
const ObjectFieldHistoryResponseDataValueTypeAddress ObjectFieldHistoryResponseDataValueType = "ADDRESS"
const ObjectFieldHistoryResponseDataValueTypeCheckbox ObjectFieldHistoryResponseDataValueType = "CHECKBOX"
const ObjectFieldHistoryResponseDataValueTypeCurrency ObjectFieldHistoryResponseDataValueType = "CURRENCY"
const ObjectFieldHistoryResponseDataValueTypeDate ObjectFieldHistoryResponseDataValueType = "DATE"
const ObjectFieldHistoryResponseDataValueTypeDatetime ObjectFieldHistoryResponseDataValueType = "DATETIME"
const ObjectFieldHistoryResponseDataValueTypeEmail ObjectFieldHistoryResponseDataValueType = "EMAIL"
const ObjectFieldHistoryResponseDataValueTypeFullName ObjectFieldHistoryResponseDataValueType = "FULL_NAME"
const ObjectFieldHistoryResponseDataValueTypeMarkdown ObjectFieldHistoryResponseDataValueType = "MARKDOWN"
const ObjectFieldHistoryResponseDataValueTypeMultiSelect ObjectFieldHistoryResponseDataValueType = "MULTI_SELECT"
const ObjectFieldHistoryResponseDataValueTypeNumber ObjectFieldHistoryResponseDataValueType = "NUMBER"
const ObjectFieldHistoryResponseDataValueTypeSingleSelect ObjectFieldHistoryResponseDataValueType = "SINGLE_SELECT"
const ObjectFieldHistoryResponseDataValueTypeSocialHandle ObjectFieldHistoryResponseDataValueType = "SOCIAL_HANDLE"
const ObjectFieldHistoryResponseDataValueTypeTelephone ObjectFieldHistoryResponseDataValueType = "TELEPHONE"
const ObjectFieldHistoryResponseDataValueTypeText ObjectFieldHistoryResponseDataValueType = "TEXT"
const ObjectFieldHistoryResponseDataValueTypeURL ObjectFieldHistoryResponseDataValueType = "URL"
const ObjectFieldHistoryResponseDataValueTypeHTML ObjectFieldHistoryResponseDataValueType = "HTML"
HasMore bool

Whether more history exists beyond this page.

NextCursor string

Cursor to pass as after to fetch the next page, or null when there are no more entries.

type ObjectListDefinitionsResponse struct{…}
Data []ObjectListDefinitionsResponseData

All object types available to the caller.

Label string

Human-readable display name.

ObjectType string

The slug used to reference this object type in the API.

type ObjectListResponse struct{…}
Data []ObjectListResponseData

Array of entity objects for the current page.

ID string

Unique identifier for the entity.

CreatedAt string

ISO 8601 timestamp of when the entity was created.

Fields map[string, ObjectListResponseDataField]

Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.

Value ObjectListResponseDataFieldValueUnion

The field value, or null if unset.

One of the following:
string
float64
bool
type ObjectListResponseDataFieldValueArray []string
type ObjectListResponseDataFieldValueAddress struct{…}
City stringOptional

City name.

Country stringOptional

2-letter ISO 3166-1 alpha-2 country code.

Latitude float64Optional

Latitude coordinate.

Longitude float64Optional

Longitude coordinate.

PostalCode stringOptional

Postal or ZIP code.

State stringOptional

State or province.

Street stringOptional

Street address line 1.

Street2 stringOptional

Street address line 2.

type ObjectListResponseDataFieldValueFullName struct{…}
FirstName stringOptional

The contact’s first name.

LastName stringOptional

The contact’s last name.

ValueType string

The data type of the field.

One of the following:
const ObjectListResponseDataFieldValueTypeAddress ObjectListResponseDataFieldValueType = "ADDRESS"
const ObjectListResponseDataFieldValueTypeCheckbox ObjectListResponseDataFieldValueType = "CHECKBOX"
const ObjectListResponseDataFieldValueTypeCurrency ObjectListResponseDataFieldValueType = "CURRENCY"
const ObjectListResponseDataFieldValueTypeDate ObjectListResponseDataFieldValueType = "DATE"
const ObjectListResponseDataFieldValueTypeDatetime ObjectListResponseDataFieldValueType = "DATETIME"
const ObjectListResponseDataFieldValueTypeEmail ObjectListResponseDataFieldValueType = "EMAIL"
const ObjectListResponseDataFieldValueTypeFullName ObjectListResponseDataFieldValueType = "FULL_NAME"
const ObjectListResponseDataFieldValueTypeMarkdown ObjectListResponseDataFieldValueType = "MARKDOWN"
const ObjectListResponseDataFieldValueTypeMultiSelect ObjectListResponseDataFieldValueType = "MULTI_SELECT"
const ObjectListResponseDataFieldValueTypeNumber ObjectListResponseDataFieldValueType = "NUMBER"
const ObjectListResponseDataFieldValueTypeSingleSelect ObjectListResponseDataFieldValueType = "SINGLE_SELECT"
const ObjectListResponseDataFieldValueTypeSocialHandle ObjectListResponseDataFieldValueType = "SOCIAL_HANDLE"
const ObjectListResponseDataFieldValueTypeTelephone ObjectListResponseDataFieldValueType = "TELEPHONE"
const ObjectListResponseDataFieldValueTypeText ObjectListResponseDataFieldValueType = "TEXT"
const ObjectListResponseDataFieldValueTypeURL ObjectListResponseDataFieldValueType = "URL"
const ObjectListResponseDataFieldValueTypeHTML ObjectListResponseDataFieldValueType = "HTML"
Relationships map[string, ObjectListResponseDataRelationship]

Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact). A self-referential relationship keeps its merged values and includes optional directional values. List filters select the current record’s role with :asSource or :asDestination, for example ?parent:asSource[contains]=account_id.

Cardinality string

Whether the relationship is has_one or has_many.

ObjectType string

The type of the related object (e.g. account, contact).

Values []string

IDs of the related entities.

Directions ObjectListResponseDataRelationshipDirectionsOptional

Directional values for a self-referential relationship. List filters use the relationship key with :asSource or :asDestination; writes continue to use the bare key.

AsDestination ObjectListResponseDataRelationshipDirectionsAsDestination

The current record is the destination (incoming) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectListResponseDataRelationshipDirectionsAsDestinationCardinalityHasOne ObjectListResponseDataRelationshipDirectionsAsDestinationCardinality = "HAS_ONE"
const ObjectListResponseDataRelationshipDirectionsAsDestinationCardinalityHasMany ObjectListResponseDataRelationshipDirectionsAsDestinationCardinality = "HAS_MANY"
Values []string

IDs of the related entities in this direction.

AsSource ObjectListResponseDataRelationshipDirectionsAsSource

The current record is the source (outgoing) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectListResponseDataRelationshipDirectionsAsSourceCardinalityHasOne ObjectListResponseDataRelationshipDirectionsAsSourceCardinality = "HAS_ONE"
const ObjectListResponseDataRelationshipDirectionsAsSourceCardinalityHasMany ObjectListResponseDataRelationshipDirectionsAsSourceCardinality = "HAS_MANY"
Values []string

IDs of the related entities in this direction.

UpdatedAt string

ISO 8601 timestamp of when the entity was last updated, or null.

ExternalID stringOptional

External identifier for the entity, or null if unset.

Object string

The object type, always "list".

TotalCount int64

Total number of entities matching the query.

minimum0
maximum9007199254740991
type ObjectRestoreResponse struct{…}
ID string

Unique identifier for the entity.

CreatedAt string

ISO 8601 timestamp of when the entity was created.

Fields map[string, ObjectRestoreResponseField]

Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.

Value ObjectRestoreResponseFieldValueUnion

The field value, or null if unset.

One of the following:
string
float64
bool
type ObjectRestoreResponseFieldValueArray []string
type ObjectRestoreResponseFieldValueAddress struct{…}
City stringOptional

City name.

Country stringOptional

2-letter ISO 3166-1 alpha-2 country code.

Latitude float64Optional

Latitude coordinate.

Longitude float64Optional

Longitude coordinate.

PostalCode stringOptional

Postal or ZIP code.

State stringOptional

State or province.

Street stringOptional

Street address line 1.

Street2 stringOptional

Street address line 2.

type ObjectRestoreResponseFieldValueFullName struct{…}
FirstName stringOptional

The contact’s first name.

LastName stringOptional

The contact’s last name.

ValueType string

The data type of the field.

One of the following:
const ObjectRestoreResponseFieldValueTypeAddress ObjectRestoreResponseFieldValueType = "ADDRESS"
const ObjectRestoreResponseFieldValueTypeCheckbox ObjectRestoreResponseFieldValueType = "CHECKBOX"
const ObjectRestoreResponseFieldValueTypeCurrency ObjectRestoreResponseFieldValueType = "CURRENCY"
const ObjectRestoreResponseFieldValueTypeDate ObjectRestoreResponseFieldValueType = "DATE"
const ObjectRestoreResponseFieldValueTypeDatetime ObjectRestoreResponseFieldValueType = "DATETIME"
const ObjectRestoreResponseFieldValueTypeEmail ObjectRestoreResponseFieldValueType = "EMAIL"
const ObjectRestoreResponseFieldValueTypeFullName ObjectRestoreResponseFieldValueType = "FULL_NAME"
const ObjectRestoreResponseFieldValueTypeMarkdown ObjectRestoreResponseFieldValueType = "MARKDOWN"
const ObjectRestoreResponseFieldValueTypeMultiSelect ObjectRestoreResponseFieldValueType = "MULTI_SELECT"
const ObjectRestoreResponseFieldValueTypeNumber ObjectRestoreResponseFieldValueType = "NUMBER"
const ObjectRestoreResponseFieldValueTypeSingleSelect ObjectRestoreResponseFieldValueType = "SINGLE_SELECT"
const ObjectRestoreResponseFieldValueTypeSocialHandle ObjectRestoreResponseFieldValueType = "SOCIAL_HANDLE"
const ObjectRestoreResponseFieldValueTypeTelephone ObjectRestoreResponseFieldValueType = "TELEPHONE"
const ObjectRestoreResponseFieldValueTypeText ObjectRestoreResponseFieldValueType = "TEXT"
const ObjectRestoreResponseFieldValueTypeURL ObjectRestoreResponseFieldValueType = "URL"
const ObjectRestoreResponseFieldValueTypeHTML ObjectRestoreResponseFieldValueType = "HTML"
Relationships map[string, ObjectRestoreResponseRelationship]

Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact). A self-referential relationship keeps its merged values and includes optional directional values. List filters select the current record’s role with :asSource or :asDestination, for example ?parent:asSource[contains]=account_id.

Cardinality string

Whether the relationship is has_one or has_many.

ObjectType string

The type of the related object (e.g. account, contact).

Values []string

IDs of the related entities.

Directions ObjectRestoreResponseRelationshipDirectionsOptional

Directional values for a self-referential relationship. List filters use the relationship key with :asSource or :asDestination; writes continue to use the bare key.

AsDestination ObjectRestoreResponseRelationshipDirectionsAsDestination

The current record is the destination (incoming) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectRestoreResponseRelationshipDirectionsAsDestinationCardinalityHasOne ObjectRestoreResponseRelationshipDirectionsAsDestinationCardinality = "HAS_ONE"
const ObjectRestoreResponseRelationshipDirectionsAsDestinationCardinalityHasMany ObjectRestoreResponseRelationshipDirectionsAsDestinationCardinality = "HAS_MANY"
Values []string

IDs of the related entities in this direction.

AsSource ObjectRestoreResponseRelationshipDirectionsAsSource

The current record is the source (outgoing) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectRestoreResponseRelationshipDirectionsAsSourceCardinalityHasOne ObjectRestoreResponseRelationshipDirectionsAsSourceCardinality = "HAS_ONE"
const ObjectRestoreResponseRelationshipDirectionsAsSourceCardinalityHasMany ObjectRestoreResponseRelationshipDirectionsAsSourceCardinality = "HAS_MANY"
Values []string

IDs of the related entities in this direction.

UpdatedAt string

ISO 8601 timestamp of when the entity was last updated, or null.

ExternalID stringOptional

External identifier for the entity, or null if unset.

type ObjectRetrieveResponseUnion interface{…}
One of the following:
type ObjectRetrieveResponseEntity struct{…}
ID string

Unique identifier for the entity.

CreatedAt string

ISO 8601 timestamp of when the entity was created.

Fields map[string, ObjectRetrieveResponseEntityField]

Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.

Value ObjectRetrieveResponseEntityFieldValueUnion

The field value, or null if unset.

One of the following:
string
float64
bool
type ObjectRetrieveResponseEntityFieldValueArray []string
type ObjectRetrieveResponseEntityFieldValueAddress struct{…}
City stringOptional

City name.

Country stringOptional

2-letter ISO 3166-1 alpha-2 country code.

Latitude float64Optional

Latitude coordinate.

Longitude float64Optional

Longitude coordinate.

PostalCode stringOptional

Postal or ZIP code.

State stringOptional

State or province.

Street stringOptional

Street address line 1.

Street2 stringOptional

Street address line 2.

type ObjectRetrieveResponseEntityFieldValueFullName struct{…}
FirstName stringOptional

The contact’s first name.

LastName stringOptional

The contact’s last name.

ValueType string

The data type of the field.

One of the following:
const ObjectRetrieveResponseEntityFieldValueTypeAddress ObjectRetrieveResponseEntityFieldValueType = "ADDRESS"
const ObjectRetrieveResponseEntityFieldValueTypeCheckbox ObjectRetrieveResponseEntityFieldValueType = "CHECKBOX"
const ObjectRetrieveResponseEntityFieldValueTypeCurrency ObjectRetrieveResponseEntityFieldValueType = "CURRENCY"
const ObjectRetrieveResponseEntityFieldValueTypeDate ObjectRetrieveResponseEntityFieldValueType = "DATE"
const ObjectRetrieveResponseEntityFieldValueTypeDatetime ObjectRetrieveResponseEntityFieldValueType = "DATETIME"
const ObjectRetrieveResponseEntityFieldValueTypeEmail ObjectRetrieveResponseEntityFieldValueType = "EMAIL"
const ObjectRetrieveResponseEntityFieldValueTypeFullName ObjectRetrieveResponseEntityFieldValueType = "FULL_NAME"
const ObjectRetrieveResponseEntityFieldValueTypeMarkdown ObjectRetrieveResponseEntityFieldValueType = "MARKDOWN"
const ObjectRetrieveResponseEntityFieldValueTypeMultiSelect ObjectRetrieveResponseEntityFieldValueType = "MULTI_SELECT"
const ObjectRetrieveResponseEntityFieldValueTypeNumber ObjectRetrieveResponseEntityFieldValueType = "NUMBER"
const ObjectRetrieveResponseEntityFieldValueTypeSingleSelect ObjectRetrieveResponseEntityFieldValueType = "SINGLE_SELECT"
const ObjectRetrieveResponseEntityFieldValueTypeSocialHandle ObjectRetrieveResponseEntityFieldValueType = "SOCIAL_HANDLE"
const ObjectRetrieveResponseEntityFieldValueTypeTelephone ObjectRetrieveResponseEntityFieldValueType = "TELEPHONE"
const ObjectRetrieveResponseEntityFieldValueTypeText ObjectRetrieveResponseEntityFieldValueType = "TEXT"
const ObjectRetrieveResponseEntityFieldValueTypeURL ObjectRetrieveResponseEntityFieldValueType = "URL"
const ObjectRetrieveResponseEntityFieldValueTypeHTML ObjectRetrieveResponseEntityFieldValueType = "HTML"
Relationships map[string, ObjectRetrieveResponseEntityRelationship]

Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact). A self-referential relationship keeps its merged values and includes optional directional values. List filters select the current record’s role with :asSource or :asDestination, for example ?parent:asSource[contains]=account_id.

Cardinality string

Whether the relationship is has_one or has_many.

ObjectType string

The type of the related object (e.g. account, contact).

Values []string

IDs of the related entities.

Directions ObjectRetrieveResponseEntityRelationshipDirectionsOptional

Directional values for a self-referential relationship. List filters use the relationship key with :asSource or :asDestination; writes continue to use the bare key.

AsDestination ObjectRetrieveResponseEntityRelationshipDirectionsAsDestination

The current record is the destination (incoming) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectRetrieveResponseEntityRelationshipDirectionsAsDestinationCardinalityHasOne ObjectRetrieveResponseEntityRelationshipDirectionsAsDestinationCardinality = "HAS_ONE"
const ObjectRetrieveResponseEntityRelationshipDirectionsAsDestinationCardinalityHasMany ObjectRetrieveResponseEntityRelationshipDirectionsAsDestinationCardinality = "HAS_MANY"
Values []string

IDs of the related entities in this direction.

AsSource ObjectRetrieveResponseEntityRelationshipDirectionsAsSource

The current record is the source (outgoing) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectRetrieveResponseEntityRelationshipDirectionsAsSourceCardinalityHasOne ObjectRetrieveResponseEntityRelationshipDirectionsAsSourceCardinality = "HAS_ONE"
const ObjectRetrieveResponseEntityRelationshipDirectionsAsSourceCardinalityHasMany ObjectRetrieveResponseEntityRelationshipDirectionsAsSourceCardinality = "HAS_MANY"
Values []string

IDs of the related entities in this direction.

UpdatedAt string

ISO 8601 timestamp of when the entity was last updated, or null.

ExternalID stringOptional

External identifier for the entity, or null if unset.

type ObjectRetrieveResponseRestricted struct{…}
ID string

Unique identifier for the record, the same ID a full response carries.

Restricted ObjectRetrieveResponseRestrictedRestricted

Present only on a record the caller may know exists but not read. Check for it before reading fields or relationships, which a restricted record does not carry.

Name string

A label for the record’s type, such as “Restricted opportunity”. Never the record’s name.

Reason string

Why the record is restricted.

One of the following:
const ObjectRetrieveResponseRestrictedRestrictedReasonNoAccess ObjectRetrieveResponseRestrictedRestrictedReason = "NO_ACCESS"
const ObjectRetrieveResponseRestrictedRestrictedReasonInherited ObjectRetrieveResponseRestrictedRestrictedReason = "INHERITED"
type ObjectUpdateResponse struct{…}
ID string

Unique identifier for the entity.

CreatedAt string

ISO 8601 timestamp of when the entity was created.

Fields map[string, ObjectUpdateResponseField]

Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.

Value ObjectUpdateResponseFieldValueUnion

The field value, or null if unset.

One of the following:
string
float64
bool
type ObjectUpdateResponseFieldValueArray []string
type ObjectUpdateResponseFieldValueAddress struct{…}
City stringOptional

City name.

Country stringOptional

2-letter ISO 3166-1 alpha-2 country code.

Latitude float64Optional

Latitude coordinate.

Longitude float64Optional

Longitude coordinate.

PostalCode stringOptional

Postal or ZIP code.

State stringOptional

State or province.

Street stringOptional

Street address line 1.

Street2 stringOptional

Street address line 2.

type ObjectUpdateResponseFieldValueFullName struct{…}
FirstName stringOptional

The contact’s first name.

LastName stringOptional

The contact’s last name.

ValueType string

The data type of the field.

One of the following:
const ObjectUpdateResponseFieldValueTypeAddress ObjectUpdateResponseFieldValueType = "ADDRESS"
const ObjectUpdateResponseFieldValueTypeCheckbox ObjectUpdateResponseFieldValueType = "CHECKBOX"
const ObjectUpdateResponseFieldValueTypeCurrency ObjectUpdateResponseFieldValueType = "CURRENCY"
const ObjectUpdateResponseFieldValueTypeDate ObjectUpdateResponseFieldValueType = "DATE"
const ObjectUpdateResponseFieldValueTypeDatetime ObjectUpdateResponseFieldValueType = "DATETIME"
const ObjectUpdateResponseFieldValueTypeEmail ObjectUpdateResponseFieldValueType = "EMAIL"
const ObjectUpdateResponseFieldValueTypeFullName ObjectUpdateResponseFieldValueType = "FULL_NAME"
const ObjectUpdateResponseFieldValueTypeMarkdown ObjectUpdateResponseFieldValueType = "MARKDOWN"
const ObjectUpdateResponseFieldValueTypeMultiSelect ObjectUpdateResponseFieldValueType = "MULTI_SELECT"
const ObjectUpdateResponseFieldValueTypeNumber ObjectUpdateResponseFieldValueType = "NUMBER"
const ObjectUpdateResponseFieldValueTypeSingleSelect ObjectUpdateResponseFieldValueType = "SINGLE_SELECT"
const ObjectUpdateResponseFieldValueTypeSocialHandle ObjectUpdateResponseFieldValueType = "SOCIAL_HANDLE"
const ObjectUpdateResponseFieldValueTypeTelephone ObjectUpdateResponseFieldValueType = "TELEPHONE"
const ObjectUpdateResponseFieldValueTypeText ObjectUpdateResponseFieldValueType = "TEXT"
const ObjectUpdateResponseFieldValueTypeURL ObjectUpdateResponseFieldValueType = "URL"
const ObjectUpdateResponseFieldValueTypeHTML ObjectUpdateResponseFieldValueType = "HTML"
Relationships map[string, ObjectUpdateResponseRelationship]

Map of relationship names to their associated entities. System relationships are prefixed with $ (e.g. $owner, $contact). A self-referential relationship keeps its merged values and includes optional directional values. List filters select the current record’s role with :asSource or :asDestination, for example ?parent:asSource[contains]=account_id.

Cardinality string

Whether the relationship is has_one or has_many.

ObjectType string

The type of the related object (e.g. account, contact).

Values []string

IDs of the related entities.

Directions ObjectUpdateResponseRelationshipDirectionsOptional

Directional values for a self-referential relationship. List filters use the relationship key with :asSource or :asDestination; writes continue to use the bare key.

AsDestination ObjectUpdateResponseRelationshipDirectionsAsDestination

The current record is the destination (incoming) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectUpdateResponseRelationshipDirectionsAsDestinationCardinalityHasOne ObjectUpdateResponseRelationshipDirectionsAsDestinationCardinality = "HAS_ONE"
const ObjectUpdateResponseRelationshipDirectionsAsDestinationCardinalityHasMany ObjectUpdateResponseRelationshipDirectionsAsDestinationCardinality = "HAS_MANY"
Values []string

IDs of the related entities in this direction.

AsSource ObjectUpdateResponseRelationshipDirectionsAsSource

The current record is the source (outgoing) endpoint.

Cardinality string

Whether this endpoint direction is HAS_ONE or HAS_MANY.

One of the following:
const ObjectUpdateResponseRelationshipDirectionsAsSourceCardinalityHasOne ObjectUpdateResponseRelationshipDirectionsAsSourceCardinality = "HAS_ONE"
const ObjectUpdateResponseRelationshipDirectionsAsSourceCardinalityHasMany ObjectUpdateResponseRelationshipDirectionsAsSourceCardinality = "HAS_MANY"
Values []string

IDs of the related entities in this direction.

UpdatedAt string

ISO 8601 timestamp of when the entity was last updated, or null.

ExternalID stringOptional

External identifier for the entity, or null if unset.