Undocumented contact fieldType - calculation_score


#1

Hi Team,

I'm seeing an undocumented fieldType calculation_score in this contact property.

{
        "name": "hubspotscore",
        "label": "HubSpot Score",
        "description": "The number that shows qualification of contacts to sales readiness. It can be set in HubSpot's Lead Scoring app.",
        "groupName": "contactinformation",
        "type": "number",
        "fieldType": "calculation_score",
        "options": [],
        "hidden": false,
        "deleted": null,
        "createdAt": null,
        "hubspotDefined": true,
        "textDisplayHint": null,
        "numberDisplayHint": null,
        "optionsAreMutable": null,
        "referencedObjectType": null,
        "updatedAt": null,
        "isCustomizedDefault": false,
        "searchableInGlobalSearch": false,
        "currencyPropertyName": null,
        "hasUniqueValue": false,
        "formField": false,
        "displayOrder": 18,
        "readOnlyValue": true,
        "readOnlyDefinition": true,
        "mutableDefinitionNotDeletable": true,
        "favorited": false,
        "favoritedOrder": -1,
        "calculated": false,
        "externalOptions": false,
        "displayMode": "current_value",
        "showCurrencySymbol": null,
        "createdUserId": null,
        "updatedUserId": null
    }

As per Contact Properties API, fieldType must be one of these -

  • textarea
  • text
  • date
  • file
  • number
  • select
  • radio
  • checkbox
  • booleancheckbox

Is this restriction applicable to only custom properties but not to the native properties created by HubSpot?

This is a breaking change for us. Could you please check this issue and update the API documentation accordingly?


#3

Hi @udayapitchika,

Thanks for bringing this to our attention. The fieldtype calculation_score was released alongside calculation properties in September, 2018.

Calculation properties are only available for the following subscriptions:

  • Marketing Hub Enterprise
  • Sales Hub Enterprise
  • Service Hub Enterprise

To clarify, are you trying to programmatically update the hubspotscore value but are unable to do so because you do not have an Enterprise-level subscription?

If so, apologies for the confusion. What error message is returned?