Update Custom Field

All API requests should contain authorization headers.

Request

PATCH /customFields/{CustomFieldId}

Query Parameters

NameTypeRequiredComments

CustomFieldId

integer

yes

Id of custom field you want to update

Request Body

Body of request should contain Custom field model serialized to JSON.

{
    "assignedCategoryIds": [],
    "defaultValue": "Everything fine",
    "id": 26707,
    "isHidden": false,
    "isRequired": false,
    "isSensitiveData": false,
    "name": "Client Comment",
    "placeholder": "Client Comment",
    "possibleValues": null,
    "type": "text_input"
}

Response

{
    "data": {
        "assignedCategoryIds": [],
        "defaultValue": "Everything fine",
        "id": 26707,
        "isHidden": false,
        "isRequired": false,
        "isSensitiveData": false,
        "name": "Client Comment",
        "placeholder": "Client Comment",
        "possibleValues": [],
        "type": "text_input"
    },
    "errorCode": -1,
    "errorText": null
}

Data field has type of Custom Field object.

Last updated