Forums
How to update the value of a UDF
last year by Alex(edited)
I'm trying to update the value of a UDF on an existing contact. This is what the body of my request looks like:
{
"abEntry": {
"data": {
"key": contact["Key"],
"Udf/$Name(Communications)": ["No political comms"]
}
}
}
I've tried sending the UDF value as an array of string, an array objects like {"Value"=>[{"Name"=>"No political comms"}]} and just as plain strings. But every attempt returns an error like "The given key is of a type not supported by the target object" or "invalid value".
How do I update the value of a UDF on a contact? Thanks
