<?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: Retrieve Multiple Deals By Account Number in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Retrieve-Multiple-Deals-By-Account-Number/m-p/438299#M43405</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/190413"&gt;@HDOlsen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are a few errors in your code - I dont know if you put them there on purpose or not so I will give you the full explaination.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In hubspots world the pipeline and dealstage have uniqe ID numbers. Since we can create an infinite amount of pipelines and an infinite amount of deal stages all get a uniqe ID.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to enter the id number of the pipeline and the id number of the dealstage under "value" in your code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;To get the pipeline internal ID:&lt;/H1&gt;
&lt;P&gt;In your hubspot account - go to settings - submenu&amp;nbsp;&lt;STRONG&gt;Data Management&lt;/STRONG&gt; then click&amp;nbsp;&lt;STRONG&gt;Deals.&amp;nbsp;&lt;/STRONG&gt;Within deals click&amp;nbsp;&lt;STRONG&gt;Pipelines.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Within pipelines select the pipeline "accounts". And then click the &amp;lt;/&amp;gt; to get the pipelines internal value.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichaelC_0-1621270006673.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/42772i221F04428FD3C1E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="MichaelC_0-1621270006673.png" alt="MichaelC_0-1621270006673.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;To get the dealstage internal ID:&lt;/H1&gt;
&lt;P&gt;In the same settings - hover the mouse over the dealstage "Openfunded" to get its internal value:&lt;/P&gt;
&lt;P&gt;(ignore the fact that my deal stages are named differently in my example)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichaelC_1-1621270226174.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/42773i48B949DCD9BD4450/image-size/large?v=v2&amp;amp;px=999" role="button" title="MichaelC_1-1621270226174.png" alt="MichaelC_1-1621270226174.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Valid operators:&lt;/H1&gt;
&lt;P&gt;You may only use the operators listed here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/api/crm/search" target="_blank"&gt;https://developers.hubspot.com/docs/api/crm/search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;IN is not on the list what I can see.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichaelC_2-1621270505693.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/42774i9A6B69D979DEE220/image-size/large?v=v2&amp;amp;px=999" role="button" title="MichaelC_2-1621270505693.png" alt="MichaelC_2-1621270505693.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Searching several objects in one go:&lt;/H1&gt;
&lt;P&gt;In order to search a list as you want you have to setup different filters.&lt;/P&gt;
&lt;P&gt;The example is shown here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/api/crm/search" target="_blank"&gt;https://developers.hubspot.com/docs/api/crm/search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And picture (with my drawing here:)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichaelC_3-1621270667162.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/42775iB2732125CDA4F934/image-size/large?v=v2&amp;amp;px=999" role="button" title="MichaelC_3-1621270667162.png" alt="MichaelC_3-1621270667162.png" /&gt;&lt;/span&gt;&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="MichaelC_4-1621270831866.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/42776i1D3F6CFFBE8D52F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="MichaelC_4-1621270831866.png" alt="MichaelC_4-1621270831866.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 17:00:49 GMT</pubDate>
    <dc:creator>MichaelC</dc:creator>
    <dc:date>2021-05-17T17:00:49Z</dc:date>
  </channel>
</rss>

