Clearing Contact Property fields


#1

I’d like to “clear” a specific Contact’s property value. In this instance, the property type is a DatePicker.

I am using the url POST /contacts/v1/contact/createOrUpdate to update other properties - can I clear a property value in the request? What value would I need to send up with the property to clear this field?


#2

@kevinmannix You can just use an empty string in your request. Here is a copy of the body I used.

{
            "properties": [
                
                {
                    "property": "firstname",
                    "value": ""
                }
            ]
}

Here is the history as proof of the change


#3

Thanks! Makes sense.