DEV Community

Cover image for How to Update Custom Property Values in HubSpot with REST API Call
Daniel ZS
Daniel ZS

Posted on

How to Update Custom Property Values in HubSpot with REST API Call

Introduction

If you need to update custom property values for HubSpot Contacts, Deals, or Accounts, here's a step-by-step guide to help you.

Add Custom Field in HubSpot

  1. Navigate to your Contact Properties in HubSpot.
  2. Click on Manage Properties and select Create Property.
  3. Choose the appropriate field type and options (e.g., dropdown, string, number).

Update Custom Fields Using ODBC

You can update custom fields using either HubSpot's API or an ODBC Driver. Example for updating a custom field:

UPDATE Contacts
SET firstname = 'Brian-Upd', lastname = 'Halligan-Upd', custom_number = 12.12
WHERE Id = 51

Common Issue: Dropdown Property Error

If you try to set a dropdown value not in the allowed list, you'll get a validation error. Always ensure the value is part of the predefined options.

👉 Read the full tutorial with examples and screenshots

Top comments (0)