Issue when creating a Deal via API request

Since April 9th we have a problem when creating deals via API. The close date is no longer applied correctly, instead of the close date the created_at or updated_at date is applied.

Object:

SimplePublicObject Object
(
 [container:protected] => Array
 (
 [id] => 12XXXXXXXXX
 [properties] => Array
 (
 [amount] => 0
 [amount_in_home_currency] => 0
 [closedate] => 2025-07-31T22:00:00Z
 [createdate] => 2024-04-17T11:28:59.855Z
 [days_to_close] => 470
 [dealname] => DEAL NAME
 [dealstage] => 69XXXXXX
 [hs_closed_amount] => 0
 [hs_closed_amount_in_home_currency] => 0
 [hs_closed_won_count] => 0
 [hs_createdate] => 2024-04-17T11:28:59.855Z
 [hs_days_to_close_raw] => 470.438196
 [hs_deal_stage_probability_shadow] => 0
 [hs_forecast_amount] => 0
 [hs_is_closed] => true
 [hs_is_closed_won] => false
 [hs_is_deal_split] => false
 [hs_is_open_count] => 0
 [hs_lastmodifieddate] => 2024-04-17T11:28:59.855Z
 [hs_object_id] => 12XXXXXXXXX
 [hs_object_source] => INTEGRATION
 [hs_object_source_id] => 80XXXX
 [hs_object_source_label] => INTEGRATION
 [hs_projected_amount] => 0
 [hs_projected_amount_in_home_currency] => 0
 [pipeline] => 21XXXXXX
 )

 [properties_with_history] =>
 [created_at] => DateTime Object
 (
 [date] => 2024-04-17 11:28:59.855000
 [timezone_type] => 2
 [timezone] => Z
 )

 [updated_at] => DateTime Object
 (
 [date] => 2024-04-17 11:28:59.855000
 [timezone_type] => 2
 [timezone] => Z
 )

 [archived] =>
 [archived_at] =>
 )

)

When I check the Deal in the Overview I can see that the Close Date isn’t correct.

Bildschirmfoto 2024-04-17 um 13.46.34.png

Ok, looks like Hubspot introduced a Pipeline automation which will change the close date when the phase changes, I disabled it and now it works as intended.