- 3,676,468 Users
- 9,715 Discussions
- 14,100 Comments
Forum Stats
Discussions
Add "Custom Data Object fields" REST Endpoints

Hello,
We'd love to have the ability to access CDO Fields via REST 1.0 or 2.0, including:
- Create a CDO field
- Delete a CDO field
- Update a CDO field
Thanks for considering!
Comments
-
The ability to create, delete, and update custom object fields is already available via the create and update custom object Application API endpoints using the fields property. Note, I only link to the 2.0 endpoints, as if both 2.0 and 1.0 are in the officially supported documentation, then 2.0 should be used, as there are some features that are only added to 2.0.
To create a custom object field, just add it to the fields property when creating or updating the custom object.
To update a custom object field, just include the updated field in the fields property when updating the custom object.
When updating a custom object you need to include all fields, even if you are not updating the field, so to delete a custom object field, just leave it out of fields in the update request.