ContractFieldDTO
Contract custom field definition object.
idint64
Field ID
Example:
1namestring
Field name
Example:
Client TypetypeContractFieldType
Contract field type enum.
Possible values: [TEXT, DATE, SELECT, MULTI_SELECT, URL, TOGGLE_SWITCH, RADIO]
Example:
SELECToptions object[]
Field options (for select / multi-select / radio / toggle).
Array [
idint64
Option ID
Example:
1namestring
Option name
Example:
VIP]
requiredboolean
Whether the field is mandatory
Example:
trueContractFieldDTO
{
"id": 1,
"name": "Client Type",
"type": "SELECT",
"options": [
{
"id": 1,
"name": "VIP"
}
],
"required": true
}