User custom fields update not updating publishable fields

I am looking to update student custom fields visible to parents on the student's Contact Card. Calls to https://api.sky.blackbaud.com/school/v1/users/{{user_id}}/customfields/list seem to update admin-only custom fields, but not the publishable fields. The publishable fields do get retrieved via GET https://api.sky.blackbaud.com/school/v1/users/{{user_id}}/customfields, but PATCH https://api.sky.blackbaud.com/school/v1/users/{{user_id}}/customfields/list using information from the object array received via GET to update field values returns “True” as response but values don't get updated.

Comments

  • @Vasil Beury
    You want to use the User Patch API located here. Make sure to use the label “custom_field_x" and verify which number needs to be updated.

  • @Lindsey Bryant Thank you, Lindsey, that worked! The /customfields/list endpoint documentation does mention admin custom fields but then GET on it pulls all custom fields, admin and publishable, so it would be logical for PATCH to be able to update them all.

  • Stephen Boyle
    Stephen Boyle Blackbaud Employee
    Tenth Anniversary Kudos 5 Name Dropper Participant

    @Vasil Beury @Lindsey Bryant

    The custom fields patch should be updating the publishable fields now. Note: permissions to edit those custom fields in user profile settings are necessary as well.