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.
The new display name. Not permitted for fields created by accounting integrations. Cannot set to a name already in use by another custom field in the business.
The type of the custom field. Not permitted for fields created by accounting integrations.
Cannot be changed after creation — always returns 400 if a different value is sent.
curl -i -X PATCH \
https://public.letsweel.com/v1/businesses/123/custom-fields/3fa85f64-5717-4562-b3fc-2c963f66afa6 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Cost Centre",
"field_type": "LIST",
"is_manager_only": false,
"budget_setting": "SOME"
}'OK
The unique identifier for this custom field.
Controls which budgets this custom field is assigned to.
Whether this custom field is visible only to managers. Cannot be changed after creation.
The source that created this custom field.
The date and time when this custom field was created.
{ "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "name": "Project Code", "field_type": "LIST", "budget_setting": "NONE", "is_manager_only": false, "created_by": "PUBLIC_API", "created": "2024-01-15T09:00:00Z", "updated": "2024-01-15T09:00:00Z" }