Oct 7, 201910:16 AM - edited Oct 7, 201910:17 AM
HubSpot Product Team
New Functionality: PATCH Method for updating CRM Object Properties
What’s happening?
We are adding the availability of a PATCH Method for use when updating the CRM Object Properties. This will allow for updating ONLY the fields that are included with the PATCH request. Any omitted fields will not be updated and will retain their current value.
For example, the following request would only update the description of the property, without affecting the other property settings, such as the property group, or the options for enumerated properties:
Previously when updating a CRM Object Property, the only method available was the PUT method. While this worked, if all of the properties were not sent in the request and some fields were omitted, such as the label and description properties, these would then be reset to a null (blank) value or a value of ‘false’ for boolean values (even if the value was true prior to the PUT).