APIs & Integrations

JStones
Member

Retrieving Deal checkbox values using the search API

I'm using the @hubspot/api-client to search for deals in HubSpot.

Specifically I'm using the doSearch function.

 

For example:

const data = await hubspotClient.crm.deals.searchApi.doSearch(publicObjectSearchRequest);
 
In the request object I'm passing a list of the properties I want to retrieve. This has been fine for all the fields I need so far. However I've added a checkbox field to the list of properties I want to retreive but the property is not being returned by HubSpot at all.
0 Upvotes
1 Reply 1
JStones
Member

Retrieving Deal checkbox values using the search API

Apologies, this was a mistake on my part. It is working fine.