Custom Field
Representative Model Class | Update Model Class | Create Model Class |
---|---|---|
CustomField |
CustomFieldUpdate |
CustomFieldCreate |
Custom fields can be used in a variety of places. Currently, the supported types include member custom fields, event custom fields, contact details custom fields and inventory custom fields.
Custom Field Values
This endpoint manages the custom fields themselves, not their values.
description
class-attribute
instance-attribute
¶
kind
class-attribute
instance-attribute
¶
kind: Literal['a', 'b', 'ba', 'ca', 'iv', 't', 'u', 'ic', 'c', 'e', 'h', 'j', 'i', 'k'] | None = None
Kind defines in which context this custom field is used. Unfortunately only some possible values are documented in the API spec:
- e: for members
- h: for events
- j: for contact details
- i: for inventory function
It is not even possible to set other fields except the ones mentioned before in the portal, so not sure what the other values are meant for.
settings_type
class-attribute
instance-attribute
¶
Settings type defines which type of field this custom field should be. Possible values:
- t: Single line text field
- f: Multiline text field
- z: Digit text field
- d: Date field
- c: Checkbox
- r: Date range field (from date and to date)
- s: Select field
- a: Multiselect field
- b: File upload
- m: reminder
If type is set to s or a, the possible options need to be defined in the additional field