Skip to main content
PUT
Update CustomField
Updates an existing CustomField record. You must include the Id of the record to update along with all required fields.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the CustomField-Edit role.

Enums

Request Body

Required Fields

integer
required
The Id of the CustomField record to update.
integer
required
ID of the location that owns this custom field. Customer fields must belong to the top-level location; other record types are available across the location network..
string
required
Required label shown for this custom field. It must be unique across the location network unless it is the linked resource/booking counterpart..
integer
required
Numeric display order for this field among the location’s custom fields; lower values appear first and the server normalizes the ordering after changes..
integer
required
Record type this field collects data for: Coworker, Team, FloorPlanDesk, CrmOpportunity, Visitor, Proposal, CoworkerInternal, HelpDeskMessage, HelpDeskDepartment, Product, Booking, CoworkerInvoice, Business, CoworkerContract, Tariff, Resource, FloorPlan, InventoryAsset, or Events. A Coworker field cannot later be changed to another type..
integer
required
Input type and validation for captured values: Text, LongText, Boolean, Dropdown, Date, Integer, or Decimal. AvailableOptions is retained only for Dropdown..
integer
required
Customer-record tab where the field is placed: General, Contact, Profile, Billing, Access, or Notes. This applies when RecordType is Coworker..
integer
required
Audience and editability: Visible allows customer editing, ReadOnly shows the field without customer editing, and Internal excludes it from public-facing field lists. ReadOnly cannot be Required..

Optional Fields

string
Comma-separated permitted choices for a Dropdown field; submitted values must exactly match these trimmed options. The server clears this value for every other FieldType..
boolean
Whether a Dropdown field accepts more than one comma-separated choice. This setting is meaningful only when FieldType is Dropdown..
boolean
Whether a non-empty value is required when this field is submitted on its parent record. ReadOnly fields are automatically made not required..
string
Optional label used to group related custom fields in supported forms..
boolean
Whether this customer field is shown on the customer’s public profile..
Whether this customer field is offered as a filter in the public customer directory search..
Optional label shown for this field in customer-directory search; use it when the normal field label needs different search wording..
boolean
Whether this custom field is shown on the customer sign-up form..
boolean
Whether this custom field is shown on the customer profile-edit form..
boolean
Whether this custom field is shown on the tour request form..
boolean
Whether this custom field is shown when a customer registers for an event..
boolean
Whether this field is shown on a resource booking form. For Resource record types, enabling this creates or synchronizes a linked Booking custom field..
boolean
Whether this custom field is shown when a customer buys a product..
boolean
Whether this custom field is shown on the team sign-up form..
boolean
Whether this custom field is shown on the course sign-up form..
boolean
Whether this custom field is shown when a customer signs up for a plan (Tariff)..
boolean
Whether this custom field is shown on the booking sign-up form..
Whether this custom field is offered as a filter in resource search..
integer[]
List of resources this Resource-record custom field applies to when it is shown in booking. An empty list means it applies to every resource; setting resources restricts it to those resources..
integer[]
IDs added to the Resources relationship..
integer[]
IDs removed from the Resources relationship..

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the update.
object
Contains the Id of the updated record.
boolean
true if the customfield was updated successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response