Defines a new object type, its properties, and associations.
Name | Type | Description | Notes |
---|---|---|---|
Labels | ObjectTypeDefinitionLabels | ||
RequiredProperties | List<string> | The names of properties that should be required when creating an object of this type. | |
SearchableProperties | List<string> | Names of properties that will be indexed for this object type in by HubSpot's product search. | |
PrimaryDisplayProperty | string | The name of the primary property for this object. This will be displayed as primary on the HubSpot record page for this object type. | [optional] |
SecondaryDisplayProperties | List<string> | The names of secondary properties for this object. These will be displayed as secondary on the HubSpot record page for this object type. | |
Properties | List<ObjectTypePropertyCreate> | Properties defined for this object type. | |
AssociatedObjects | List<string> | Associations defined for this object type. | |
Name | string | A unique name for this object. For internal use only. |