Question:
- How to update or delete an external property on a calendar entry
- How to update or delete the external_properties using the calendar_entries endpoint
Environment:
- Clio's API V4
Additional Information:
- More information on External Properties can be found in the API Documentation here.
Answer:
The external_properties can be updated through the calendar_entries endpoint using a PATCH request including the id of the external property you wish to update.
For example, the following included in the body of your request will update the name and value:
"external_properties":[
{
"id": 153XXXXXXX,
"name": "test2",
"value": "testvalue2"
}
]
You can also delete an external property using the _destroy field with a "true" value as below:
"external_properties":[
{
"id": 153XXXXXXX,
"_destroy": true
}
]