Contacts API Update Contact Without Needing to Fill Out All Existing Fields


#1

How do I update a single contact field without having to fill out the rest of the required fields? Or how do I autopopulate the required fields with their current values? Would I have to do a get request on the contact first and parse for the values?

For example I'd like to do something like:

        `def update_contact():
               update = requests.post("https://api.hubapi.com/contacts/v1/contact/vid/101/profile?hapikey=" + 
               api_key, json={
                     "properties": [
                        {
                             "property": "email",
                             "value": "testing@hubspot.com"
                        },`

but I'll receive an error and need to also fill out firstname and lastname


#2

Hi @vin.aws,

If you're using the contacts API, you should be able to include only the properties you want to update without seeing any errors. Can you give me an example of the error that you're referring to?