When querying the crm api for deals properties it was noticed that there were no options returned for the dealstage property.
Since the type is an enumeration I was expecting the array of options to be populated with the different options but there are not options listed, only:
{“name”:“dealstage”,“label”:“Deal Stage”,“type”:“enumeration”,“fieldType”:“radio”,“description”:“The stage of the deal. Deal stages allow you to categorize and track the progress of the deals that you are working on.”,“groupName”:“dealinformation”,“displayOrder”:3,“calculated”:false,“externalOptions”:true,“hasUniqueValue”:false,“hidden”:false,“modificationMetadata”:{“archivable”:true,“readOnlyDefinition”:true,“readOnlyOptions”:false,“readOnlyValue”:false},“formField”:false}
I even tried the old API thinking it may be a bug in the new one, but it does not return any options either:
{“name”:“dealstage”,“label”:“Deal Stage”,“description”:“The stage of the deal. Deal stages allow you to categorize and track the progress of the deals that you are working on.”,“groupName”:“dealinformation”,“type”:“enumeration”,“fieldType”:“radio”,“createdUserId”:null,“searchableInGlobalSearch”:false,“hasUniqueValue”:false,“optionSortStrategy”:null,“referencedObjectType”:null,“numberDisplayHint”:null,“textDisplayHint”:null,“currencyPropertyName”:null,“optionsAreMutable”:true,“isCustomizedDefault”:false,“searchTextAnalysisMode”:null,“updatedUserId”:null,“hidden”:false,“options”:[],“deleted”:null,“createdAt”:null,“formField”:false,“displayOrder”:3,“readOnlyValue”:false,“readOnlyDefinition”:true,“mutableDefinitionNotDeletable”:false,“favorited”:true,“favoritedOrder”:3,“calculated”:false,“externalOptions”:true,“displayMode”:“current_value”,“showCurrencySymbol”:null,“hubspotDefined”:true,“updatedAt”:null}
Requests used:
curl --request GET \
--url 'https://api.hubapi.com/crm/v3/properties/deals?archived=false&hapikey=API_KEY’
curl --request GET \
--url 'https://api.hubapi.com/properties/v1/deals/properties/?hapikey=API_KEY’
Is this expected or a bug, I could not find any documentation suggesting it would not return options.