Skip to content

custom_field

Custom fields are organised into named sections assigned to an element (Booking, Talent, Contact, Page, or Post), defined in Settings > Types > Custom Fields. Fields are keyed by section slug then field slug. Access a value with e.g. model.custom_fields.[section_slug].[field_slug].value.

ACCESS

Returned as child in:

booking.custom_fields

Example

json
{
  "[section_slug]": {
    "[field_slug]": {
      "name": "Bio (Default)",
      "type": "RichText",
      "value": "Some value"
    }
  }
}

Properties

[section_slug] object

A named section of custom fields, keyed by field slug.

[field_slug] object

A single custom field.

name string

Display name of the field.

type string

Field type — one of Contact, Date, DateRange, File, Image, Number, RichText, Select, Tags, Text, Textarea, Time, URL.

value string