Skip to main content A new Salesforce certification experience is coming July 21st. Discover how exams will be delivered in Pearson VUE, what it means for you, and ways to prepare. Learn more.

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
Loading
  1. Mar 31, 2023, 12:48 PM

    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.

0/9000