UpdateCustomObject
Updates an existing custom object in HubSpot. May require private-app token authentication due to OAuth scope limitations.
Input
| Name | Type | Description |
| FullyQualifiedName | String | Fully qualified name of the custom object to update, including namespace if applicable. Required if TableName is not provided. |
| TableName | String | Exposed table name of the custom object to update. Required if FullyQualifiedName is not provided. |
| ObjectLabelSingular | String | Updated singular label for the custom object. This label appears in the CRM interface when displaying a single record of this object. |
| ObjectLabelPlural | String | Updated plural label for the custom object. This label is used in list views and when referring to multiple records in the CRM. |
| RequiredProperties | String | A comma-separated list of properties that must be set when creating records of this object type. These fields enforce data requirements in HubSpot forms and automation. |
| SearchableProperties | String | A comma-separated list of properties to be indexed by HubSpot's global search. These fields help users locate records based on specific property values. |
| PrimaryDisplayProperty | String | Property that serves as the primary identifier for records of this object type in the CRM. Displayed prominently on the record page. |
| SecondaryDisplayProperties | String | A comma-separated list of properties. Additional properties shown below the primary property in the record summary view. Helps provide quick insights at a glance. |
| Restorable | Boolean | Indicates whether deleted records of this object type can be recovered. Set to True to allow restoration from the recycle bin. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Returns True if the update to the custom object is completed successfully. |
| ObjectName | String | Internal name of the updated object, used for reference in APIs and schema definitions. |
| ObjectLabel | String | Updated plural label for the object, used in CRM views and object listings. |
| ErrorCode | String | Code representing the type of error that occurred during the update, if applicable. |
| ErrorMessage | String | Descriptive message detailing the reason for failure, provided when the update operation is unsuccessful. |