---
title: "Update property Custom Fields"
method: PUT
path: "/properties-api/custom-fields/{propertyId}"
tags: ["Custom Fields"]
---

# Update property Custom Fields

`PUT /properties-api/custom-fields/{propertyId}`

Update many custom fields of property at once. It will only update custom fields of property, if You need to remove other fields please use DELETE endpoint

## Path parameters

- `propertyId` string, required

## Query parameters

- `updateSubUnits` boolean

## Request body

- object
  - `customFields` object[], required — List of custom fields to update
    - `fieldId` string, required — Custom Field ID
    - `value` union, required — Value
      - string
      - number
      - boolean
      - string, date-time

## Response `200`

Returns a list of all custom fields set on property

- object
  - `propertyId` string
  - `customFields` object[] — An array containing a list of custom fields
    - `fieldId` string
    - `value` string
    - `fullText` string — If the value is a long text, the response will return a truncated version, and the complete text will be stored successfully.
    - `displayName` string
    - `key` string
    - `type` string
    - `options` string[]
    - `object` string — Custom field type
    - `isPublic` boolean

## Other responses

- `403` — Unauthorized Request.
- `404` — Property not found.

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/versions/7c62644070f2/schema)
