<?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: Deals API - Search deal using property in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Deals-API-Search-deal-using-property/m-p/385275#M37994</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/150346"&gt;@adpaiker&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;You will found the information you aer looking for on &lt;A href="https://developers.hubspot.com/docs/api/crm/deals" target="_blank" rel="noopener"&gt;The Deal endpoint documentation&lt;/A&gt; . Just run a request on&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/crm/v3/objects/deals/search&lt;/LI-CODE&gt;&lt;P&gt;And use filter on your custom field :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
   "filterGroups":[
      {
         "filters":[
            {
               "value":"&amp;lt;YUR SEARCH VALUE&amp;gt;",
               "propertyName":"&amp;lt;YOUR CUSTOM FIELD&amp;gt;",
               "operator":"EQ"
            }
         ]
      }
   ],
   "sorts":[
      "string"
   ],
   "query":"string",
   "properties":[
      "string"
   ],
   "limit":0,
   "after":0
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="hsSign_smaller.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/33610i7575612D979FF4F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="hsSign_smaller.png" alt="hsSign_smaller.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Nov 2020 10:56:54 GMT</pubDate>
    <dc:creator>quentin_lamamy</dc:creator>
    <dc:date>2020-11-10T10:56:54Z</dc:date>
    <item>
      <title>Deals API - Search deal using property</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Deals-API-Search-deal-using-property/m-p/385225#M37992</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are new to hubspot and need urgent help on below question:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have created custom property for deals in hubspot and want to lookup &amp;amp; find deal based on this property value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: we have a property called gp_id for deal and it has unique value for deal. We need API which can be called using gp_id and which would return deal_id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is any such API available. We tried below but these do not&amp;nbsp; return the property gp_id:&amp;nbsp;&lt;/P&gt;&lt;P&gt;GET /properties/v1/deals/properties&lt;/P&gt;&lt;P&gt;GET /properties/v2/:deal/properties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help to find.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 08:08:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Deals-API-Search-deal-using-property/m-p/385225#M37992</guid>
      <dc:creator>adpaiker</dc:creator>
      <dc:date>2020-11-10T08:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Deals API - Search deal using property</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Deals-API-Search-deal-using-property/m-p/385275#M37994</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/150346"&gt;@adpaiker&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;You will found the information you aer looking for on &lt;A href="https://developers.hubspot.com/docs/api/crm/deals" target="_blank" rel="noopener"&gt;The Deal endpoint documentation&lt;/A&gt; . Just run a request on&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/crm/v3/objects/deals/search&lt;/LI-CODE&gt;&lt;P&gt;And use filter on your custom field :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
   "filterGroups":[
      {
         "filters":[
            {
               "value":"&amp;lt;YUR SEARCH VALUE&amp;gt;",
               "propertyName":"&amp;lt;YOUR CUSTOM FIELD&amp;gt;",
               "operator":"EQ"
            }
         ]
      }
   ],
   "sorts":[
      "string"
   ],
   "query":"string",
   "properties":[
      "string"
   ],
   "limit":0,
   "after":0
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="hsSign_smaller.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/33610i7575612D979FF4F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="hsSign_smaller.png" alt="hsSign_smaller.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 10:56:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Deals-API-Search-deal-using-property/m-p/385275#M37994</guid>
      <dc:creator>quentin_lamamy</dc:creator>
      <dc:date>2020-11-10T10:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Deals API - Search deal using property</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Deals-API-Search-deal-using-property/m-p/385909#M38052</link>
      <description>&lt;P&gt;That helped. Thanks Quentin !!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 08:52:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Deals-API-Search-deal-using-property/m-p/385909#M38052</guid>
      <dc:creator>adpaiker</dc:creator>
      <dc:date>2020-11-12T08:52:54Z</dc:date>
    </item>
  </channel>
</rss>

