<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Search Deals based on Deal Status in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Search-Deals-based-on-Deal-Status/m-p/699351#M57344</link>
    <description>&lt;P&gt;Ah ok, so unfortunatley in that case no, as those properties are only surfaced within the report tool. They're not accessible via the API. I'm not sure why to be honest with you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not a pretty solution, but you could create a custom property and use workflows to set it to "Closed", "Open" or "Lost" depending on the stage a deal is in and then use the Search API to query using that.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Sep 2022 11:15:18 GMT</pubDate>
    <dc:creator>coldrickjack</dc:creator>
    <dc:date>2022-09-28T11:15:18Z</dc:date>
    <item>
      <title>Search Deals based on Deal Status</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Search-Deals-based-on-Deal-Status/m-p/699279#M57332</link>
      <description>&lt;P&gt;Is there a way to search or filter deals based on the calculated property of Deal Status using API. I'm trying to retrieve deals with Open status and there seems to be no direct way to do this&amp;nbsp; using API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The alternative approach seems to be to create a FilterGroup with filter conditions for all the Open stages in the pipeline. But there already is a restriction on the total number of filter groups and in some cases this is option is not possible&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 08:48:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Search-Deals-based-on-Deal-Status/m-p/699279#M57332</guid>
      <dc:creator>SR36</dc:creator>
      <dc:date>2022-09-28T08:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Search Deals based on Deal Status</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Search-Deals-based-on-Deal-Status/m-p/699335#M57337</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/342806"&gt;@SR36&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the &lt;A href="https://developers.hubspot.com/" target="_blank" rel="noopener"&gt;CRM Search API&lt;/A&gt; to do this. See an example of how I request any deals in a specific stage below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-09-28 at 11.52.37.png" style="width: 619px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/76104iAC6D308699BF79F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-09-28 at 11.52.37.png" alt="Screenshot 2022-09-28 at 11.52.37.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 10:53:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Search-Deals-based-on-Deal-Status/m-p/699335#M57337</guid>
      <dc:creator>coldrickjack</dc:creator>
      <dc:date>2022-09-28T10:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Search Deals based on Deal Status</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Search-Deals-based-on-Deal-Status/m-p/699348#M57341</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/426475"&gt;@coldrickjack&lt;/a&gt;&amp;nbsp; for this answer. In the example show you are filtering on deal stage. I was wondering if we could filter on deal status (this is a calculated property) -&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/crm-deals/hubspots-default-deal-properties" target="_blank"&gt;https://knowledge.hubspot.com/crm-deals/hubspots-default-deal-properties&lt;/A&gt;&amp;nbsp;(Please look for the section&amp;nbsp;Deals Calculated Information)&lt;/P&gt;&lt;P&gt;It would be much convenient if there was a filter for Open deals, Closed deals etc. But I could not find if the property is available via API&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 11:12:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Search-Deals-based-on-Deal-Status/m-p/699348#M57341</guid>
      <dc:creator>SR36</dc:creator>
      <dc:date>2022-09-28T11:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Search Deals based on Deal Status</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Search-Deals-based-on-Deal-Status/m-p/699351#M57344</link>
      <description>&lt;P&gt;Ah ok, so unfortunatley in that case no, as those properties are only surfaced within the report tool. They're not accessible via the API. I'm not sure why to be honest with you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not a pretty solution, but you could create a custom property and use workflows to set it to "Closed", "Open" or "Lost" depending on the stage a deal is in and then use the Search API to query using that.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 11:15:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Search-Deals-based-on-Deal-Status/m-p/699351#M57344</guid>
      <dc:creator>coldrickjack</dc:creator>
      <dc:date>2022-09-28T11:15:18Z</dc:date>
    </item>
  </channel>
</rss>

