Update Custom Object Schema or standard object's like contact, opportunity, business searchable fields. To understand objects and records, please have a look at the documentation here : https://doc.clickup.com/8631005/d/h/87cpx-277156/93bf0c2e23177b0
Request
Provide your bearer token in the Authorization header when making requests to protected resources.
Path Parameters
key of the custom or standard object. For custom objects, the key must include the prefix “custom_objects.”. This key can be found on the Object Details page under Settings in the UI.
Headers
Access Token
API Version
Body
This is how your custom object will be displayed
Singular name of the custom object
Plural name of the custom object
Pet Object`s description
location id
Searchable Fields: Provide the field key of your object that you want to search on, using the format (custom_object.<object_name>.<field_key>).
Responses
200
Successful response
Body
id of the custom / standard object schema
false in case of custom objects and true in case of standard objects like contacts and opportunities
key that would be used to refer the custom / standard Object internally (lowercase + underscore_separated). For custom objects, 'custom_objects.' would be added as prefix by default
This is what your custom / standard object will be called. These labels will be used to display your custom object on the UI
Custom / Standard Object Descriptions for example , Pet Object`s description
location's id
Primary property for the custom / standard Object. This would be used as primary data when rendering the UI. 'custom_objects.{{object_key}} or business.{{object_key}} (for company)' would be added as prefix by default for all the custom / standard objects
Date and time when the object was added
Date and time when the object was last updated
Object`s Type
400
Bad Request
Body
401
Unauthorized
Body
422
Unprocessable Entity