<?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: Problems with DEALS POST API v3 in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Problems-with-DEALS-POST-API-v3/m-p/752253#M61149</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/516665"&gt;@DOpanovich&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Were you able to get this worked out? I tried using the same endpoint, example, and a private app. Here's my request and response:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Reply&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;curl --request POST \
  --url https://api.hubapi.com/crm/v3/objects/deals \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'content-type: application/json' \
  --data '{
  "properties": {
    "amount": "500.00",
    "closedate": "2022-12-07T16:50:06.678Z",
    "dealname": "Cats playing guitars",
    "dealstage": "presentationscheduled",
    "hubspot_owner_id": "198670650",
    "pipeline": "default"
  }
}'​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Response&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;HTTP 201

{
  "id": "12038699168",
  "properties": {
    "amount": "500.00",
    "amount_in_home_currency": "500.00",
    "closedate": "2022-12-07T16:50:06.678Z",
    "createdate": "2023-02-06T17:02:07.647Z",
    "days_to_close": "0",
    "dealname": "Cats playing guitars",
    "dealstage": "presentationscheduled",
    "hs_all_accessible_team_ids": "12073943",
    "hs_all_owner_ids": "198670650",
    "hs_all_team_ids": "12073943",
    "hs_closed_amount": "0",
    "hs_closed_amount_in_home_currency": "0",
    "hs_createdate": "2023-02-06T17:02:07.647Z",
    "hs_deal_stage_probability_shadow": "0.59999999999999997779553950749686919152736663818359375",
    "hs_forecast_amount": "500.00",
    "hs_is_closed": "false",
    "hs_is_closed_won": "false",
    "hs_is_deal_split": "false",
    "hs_lastmodifieddate": "2023-02-06T17:02:07.647Z",
    "hs_object_id": "12038699168",
    "hs_projected_amount": "0",
    "hs_projected_amount_in_home_currency": "0",
    "hs_user_ids_of_all_owners": "10233975",
    "hubspot_owner_assigneddate": "2023-02-06T17:02:07.647Z",
    "hubspot_owner_id": "198670650",
    "hubspot_team_id": "12073943",
    "pipeline": "default"
  },
  "createdAt": "2023-02-06T17:02:07.647Z",
  "updatedAt": "2023-02-06T17:02:07.647Z",
  "archived": false
}​&lt;/LI-CODE&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2023-02-06 at 10.06.17@2x.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/84739i581648D061ACEA46/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2023-02-06 at 10.06.17@2x.png" alt="CleanShot 2023-02-06 at 10.06.17@2x.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I'd suggest adding your example request and response by copy it from the example page. This will help the community to better understand how they can assist you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2023 17:10:46 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2023-02-06T17:10:46Z</dc:date>
    <item>
      <title>Problems with DEALS POST API v3</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Problems-with-DEALS-POST-API-v3/m-p/752079#M61143</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;H2&gt;&lt;SPAN&gt;I tried to create a Deal using an API v3 call with basic parameters.&lt;/SPAN&gt;&lt;/H2&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/api/crm/deals" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developers.hubspot.com/docs/api/crm/deals&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;POST:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://api.hubapi.com/crm/v3/objects/deals" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.hubapi.com/crm/v3/objects/deals&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Body:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"amount": "1500.00",&lt;BR /&gt;"closedate": "2019-12-07T16:50:06.678Z",&lt;BR /&gt;"dealname": "Custom data integrations",&lt;BR /&gt;"dealstage": "presentationscheduled",&lt;BR /&gt;"hubspot_owner_id": "910901",&lt;BR /&gt;"pipeline": "default"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it returns the following answer:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;{&lt;BR /&gt;"id": "6614513100",&lt;BR /&gt;"properties": {&lt;BR /&gt;"createdate": "2023-02-06T12:29:44.669Z",&lt;BR /&gt;"days_to_close": "0",&lt;BR /&gt;"hs_closed_amount": "0",&lt;BR /&gt;"hs_closed_amount_in_home_currency": "0",&lt;BR /&gt;"hs_createdate": "2023-02-06T12:29:44.669Z",&lt;BR /&gt;"hs_deal_stage_probability_shadow": "0",&lt;BR /&gt;"hs_is_closed_won": "false",&lt;BR /&gt;"hs_is_deal_split": "false",&lt;BR /&gt;"hs_lastmodifieddate": "2023-02-06T12:29:44.669Z",&lt;BR /&gt;"hs_object_id": "6614513100",&lt;BR /&gt;"hs_projected_amount": "0",&lt;BR /&gt;"hs_projected_amount_in_home_currency": "0"&lt;BR /&gt;},&lt;BR /&gt;"createdAt": "2023-02-06T12:29:44.669Z",&lt;BR /&gt;"updatedAt": "2023-02-06T12:29:44.669Z",&lt;BR /&gt;"archived": false&lt;BR /&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;As you can see, there is no name, stage, etc.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The request is made through the "oAuth key"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;And the app includes these soupes:&lt;/DIV&gt;&lt;DIV&gt;crm.objects.deals.readcrm.objects.deals.write&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What am I doing wrong?&lt;BR /&gt;&lt;BR /&gt;UPD:&lt;BR /&gt;&lt;BR /&gt;Forgot about {properties:{...}}&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Feb 2023 17:56:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Problems-with-DEALS-POST-API-v3/m-p/752079#M61143</guid>
      <dc:creator>DOpanovich</dc:creator>
      <dc:date>2023-02-22T17:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with DEALS POST API v3</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Problems-with-DEALS-POST-API-v3/m-p/752253#M61149</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/516665"&gt;@DOpanovich&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Were you able to get this worked out? I tried using the same endpoint, example, and a private app. Here's my request and response:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Reply&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;curl --request POST \
  --url https://api.hubapi.com/crm/v3/objects/deals \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'content-type: application/json' \
  --data '{
  "properties": {
    "amount": "500.00",
    "closedate": "2022-12-07T16:50:06.678Z",
    "dealname": "Cats playing guitars",
    "dealstage": "presentationscheduled",
    "hubspot_owner_id": "198670650",
    "pipeline": "default"
  }
}'​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Response&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;HTTP 201

{
  "id": "12038699168",
  "properties": {
    "amount": "500.00",
    "amount_in_home_currency": "500.00",
    "closedate": "2022-12-07T16:50:06.678Z",
    "createdate": "2023-02-06T17:02:07.647Z",
    "days_to_close": "0",
    "dealname": "Cats playing guitars",
    "dealstage": "presentationscheduled",
    "hs_all_accessible_team_ids": "12073943",
    "hs_all_owner_ids": "198670650",
    "hs_all_team_ids": "12073943",
    "hs_closed_amount": "0",
    "hs_closed_amount_in_home_currency": "0",
    "hs_createdate": "2023-02-06T17:02:07.647Z",
    "hs_deal_stage_probability_shadow": "0.59999999999999997779553950749686919152736663818359375",
    "hs_forecast_amount": "500.00",
    "hs_is_closed": "false",
    "hs_is_closed_won": "false",
    "hs_is_deal_split": "false",
    "hs_lastmodifieddate": "2023-02-06T17:02:07.647Z",
    "hs_object_id": "12038699168",
    "hs_projected_amount": "0",
    "hs_projected_amount_in_home_currency": "0",
    "hs_user_ids_of_all_owners": "10233975",
    "hubspot_owner_assigneddate": "2023-02-06T17:02:07.647Z",
    "hubspot_owner_id": "198670650",
    "hubspot_team_id": "12073943",
    "pipeline": "default"
  },
  "createdAt": "2023-02-06T17:02:07.647Z",
  "updatedAt": "2023-02-06T17:02:07.647Z",
  "archived": false
}​&lt;/LI-CODE&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2023-02-06 at 10.06.17@2x.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/84739i581648D061ACEA46/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2023-02-06 at 10.06.17@2x.png" alt="CleanShot 2023-02-06 at 10.06.17@2x.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I'd suggest adding your example request and response by copy it from the example page. This will help the community to better understand how they can assist you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 17:10:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Problems-with-DEALS-POST-API-v3/m-p/752253#M61149</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-02-06T17:10:46Z</dc:date>
    </item>
  </channel>
</rss>

