---
title: "Update a custom field"
method: PATCH
path: "/v1/custom-fields/{custom_field_id}"
tags: ["Custom Fields"]
---

# Update a custom field

`PATCH /v1/custom-fields/{custom_field_id}`

## Path parameters

- `custom_field_id` string, uuid, required

## Headers

- `X-Idempotency-Key` string, required

## Request body

- PatchedUpdateCustomFieldSchema
  - `name` string, nullable — The name of the custom field.
  - `external_id` string, nullable — The external accounting ID of the custom field.

## Response `200`

Custom field updated successfully

- union
  - MultiSelectSchema
    - `id` string, uuid, required
    - `name` string, required
    - `type` 'single-select' | 'multi-select' | 'string'
    - `external_id` string, nullable
    - `options` OptionSchema[], required
      - `id` string, uuid, required
      - `name` string, required
      - `external_id` string, nullable
      - `hidden` boolean, required
  - StringSchema
    - `id` string, uuid, required
    - `name` string, required
    - `type` 'single-select' | 'multi-select' | 'string'
    - `external_id` string, nullable

## Other responses

- `400` — Invalid request data
- `404` — Custom field not found

---

[API](https://skmtc.dev/floatfinancial/apis/float-public-api.md) · [All operations](https://skmtc.dev/floatfinancial/apis/float-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/floatfinancial/float-public-api/revisions/a3c42eb1b312/schema)
