v1
latestOpenAPI 3.1.02026-08-065163115.0 KBCustom Fields
Update a custom field
Partially updates a custom field.
Restrictions for accounting integration fields (created by Xero, MYOB, QuickBooks, NetSuite, or Business Central): the name field cannot be changed. Only budget_setting can be updated.
patch/v1/businesses/{client_id}/custom-fields/{custom_field_id}
Path parameters
client_idinteger required
Example:123
The ID of the business.
custom_field_idstring uuid required
Example:3fa85f64-5717-4562-b3fc-2c963f66afa6
The ID of the custom field.
Request body
Example request
{
"name": "Cost Centre",
"field_type": "LIST",
"budget_setting": "SOME"
}Response
OK
Example response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Project Code",
"field_type": "LIST",
"budget_setting": "NONE",
"created_by": "PUBLIC_API",
"created": "2024-01-15T09:00:00Z",
"updated": "2024-01-15T09:00:00Z"
}