Deals API filter by property value

Highlighted
New Member

Hi,

 

I need a modification in Deals API to get only the deals with a property value.

 

I use the method https://developers.hubspot.com/docs/methods/deals/get-all-deals but with this option I can't filter by the value of specific property and I need it.

 

Thanks

Reply
0 Upvotes
2 Replies 2
HubSpot Employee

Hi @rmartinezIncren,

 

Right now the only way to handle this is to parse through the response and filter out the data you do not need - I appreciate this is not ideal. W e are about to release a new endpoint that will facilitate this. It will be going into developer preview very shortly.

 

Once live you will be able to search for CRM objects (Contacts, Companies, Deals, Tickets, Products) by specific values within properties on the object.

 

For instance get all deals where stage = XYZ.

 

Regards,

Jack

Jack Coldrick
Solutions Engineer @ HubSpot
Add me on LinkedIn
Reply
0 Upvotes
New Member

Hi @jackcoldrick  thanks for your response!