APIs & Integrations

justinteractive
Member

Can I select deals filtered by their dealstage?

SOLVE

I'm wanting to select all deals in a particular deal stage from a pipeline. I can see how to get a pipeline, and also get all stages from the pipeline but no way to filter a record set by dealstage. Any suggestions very welcome.

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Can I select deals filtered by their dealstage?

SOLVE

Hi @justinteractive,

I'm not familiar with the approach @alexhubble cites, but I would love to learn more.

That said, the Deals API methods do not support this type of filtering. Instead, you must use one of the three GET endpoints:

and sort by the dealstage property on your end. Here's a similar topic.

Isaac Takushi

Associate Certification Manager

View solution in original post

0 Upvotes
2 Replies 2
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Can I select deals filtered by their dealstage?

SOLVE

Hi @justinteractive,

I'm not familiar with the approach @alexhubble cites, but I would love to learn more.

That said, the Deals API methods do not support this type of filtering. Instead, you must use one of the three GET endpoints:

and sort by the dealstage property on your end. Here's a similar topic.

Isaac Takushi

Associate Certification Manager
0 Upvotes
alexhubble
Member

Can I select deals filtered by their dealstage?

SOLVE

There is a deals table which has a dealstage field - can you not see it in your hubspot schema ?

0 Upvotes