Skip to main content
Version: 2021-07-28

Update Custom Field

PUT 

/locations/:locationId/customFields/:id

Update Custom Field

Request​

Version stringrequired

API Version

Available options2021-07-28
locationId stringrequired

Location Id

id stringrequired

Custom Field Id

application/json

Bodyrequired

    namestringrequired
    placeholderstring
    acceptedFormatstring[]
    isMultipleFileboolean
    maxNumberOfFilesnumber
    textBoxListOptionsobject[]
    positionnumber
    Default value: 0
    modelstring

    Model of the custom field you want to update

    Available optionscontactopportunity
    urlValidationobject

    When provided, replaces URL validation rules (URL fields only).

    dateTimeValidationobject

    When provided, replaces date/time validation rules (DATE, TIME, DATE_TIME fields only).

    userFieldConfigobject

    When provided, updates user field options except multiSelect (immutable after create).

    optionDisplayTypestring

    When provided, updates the option rendering mode (RADIO / CHECKBOX only). One of TEXT_ONLY, TEXT_WITH_ICON, TEXT_WITH_IMAGE.

    Available optionsTEXT_ONLYTEXT_WITH_ICONTEXT_WITH_IMAGE
application/json

Successful response

Schema
    customFieldobject