I am trying to update some custom fields through the API. I'm using Postman to test my calls. I am able to update regular fields like phone number but any custom fields don't change. I don't get any errors so I'm not sure what's going on. Any help is appreciated!
Here is my code that I'm posting in the body using users.profile.set:
{
"profile": {
"phone": "303-000-0000", --this works
"fields": {
"Xf01DXXXXXX": {
"value": "This is a test", -- this doesn't work
"alt": ""
}
}
},
"user": "U02NXXXXXXX"
}
2 answers
Thank you Michal. Looks like any fields that are set to "user edit" can't be edited through the API. Once I changed them to "API", it works now.