name | string (unique) | Technical name of the field. Must be unique and is chosen by you. |
label | string | Display name on the user interface.
|
required | bool | Marks the field as required. Default: false |
uniqueValue | bool | Defines whether the value of the field must be unique across the shop (true). If the option is active, the field is used in the duplicate check (accounts.account → duplicate, see accounts - User accounts) — for example for the VAT ID. Default: false |
accountMemberField | bool | Determines whether the field is stored on the company account or on employee accounts. |
storageStrategy | enum | Storage location of the values — in the account, only in the order or both. Possible values: - account - order - hybrid Default: account |
type | oneOf | Field type for detailed configuration. |
text | object | Text input field. |
default | string | Pre-fill for the text field. (optional) |
number | object | Numeric input field. |
default | int | Pre-fill for the input field (optional). |
min | int | Minimum allowed value. (optional) |
max | int | Maximum allowed value. (optional) |
step | int | Step size of the value during input. Default: 1 |
numDecimals | int | Number of decimal places. Default: 0 |
unit | oneOf | Unit definition (optional). |
constant | object | Fixed, non-modifiable unit. |
name | string | Technical name of the unit. |
label | string | Display label of the unit.
|
dynamic | object | Base unit + selectable unit. |
baseUnitName | string | Name of the base unit. |
unitOptions | list (object) | List of available units. |
name | string | Technical name of the unit. |
label | string | Display label of the unit.
|
factor | float | Conversion factor. |
converter | singleService | Service for converting the value when the unit changes (optional). Currently only unitConverter.orderOfMagnitude is available here. It converts using the factors from unitOptions. Without an entry, the value remains unchanged when the unit changes. More under Validation and check services |
freeSelection | object | Free selection from fixed options. |
unitOptions | list (object) | Selectable units. |
name | string | Technical name. |
label | string | Display label.
|
defaultOptionName | string | Default unit. |
date | object | Date field. |
default | string | Pre-fill (optional). |
checkbox | object | Checkbox. |
default | bool | Pre-fill for the checkbox. Default: false |
select | object | Selection list (dropdown). |
options | list (object) | Available selection values. |
value | string | Technical value of an option. |
label | string | Display label of the option.
|
default | string | Pre-selected option (optional). |
validations | multiService | List of validation rules. Examples: - minLength - maxLength - more under Validation and check services. Target: dataChecker |