Custom Fields
What you can do with Fields
Field Properties:
code | Type: string A unique field code. A unique field identifier is used in API requests. Can contain only letters, digits and underscore. Starts with letter. Example: |
workspace | Type: string (format: iri-reference) The workspace reference to which the field belongs. Example: |
entity | Type: string The entity name to which the field belongs. Should be only one of orders or shipments. Example: |
title | Type: string Field name. Example: |
fieldType | Type: string Field type code. Example: supported field types:
|
readonly | Type: boolean|null Determines if the field is not writeable. Example: |
sorting | Type: boolean|null Determines if the field can be used for sorting. Example: |
selectOptions | Type: object|null Options for select field type. Represented by the FieldSelectOptions object. Example:"selectOptions": { "keyField": "string|null", "titleField": "string|null", "options": "array|null", "url": "string|null" }
|
visibleExpr | Type: string|null The expression that allows to determinate if field should be visible. Example: |
validation | Type: string|null The validation rules for the fields. Example: |
default | Type: string|null The default value for the field. Example: |
placeholder | Type: string|null The placeholder value for the field. Example: |
refreshOnChange | Type: boolean|null Determines if the entity will be refreshed after field changes. Example: |
helperText | Type: string|null The helper text for the field. Example: |
tags | Type: array The list of tags for the field. Example: |
options | Type: array |
primary | Type: boolean Primary field means defined statically. Custom field is from EAV |
Endpoints
Name | In | Is Required | Type | Description |
---|---|---|---|---|
workspace.id | query | No | string | |
workspace.id[] | query | No | array | Array of Strings. |
groups[] | query | No | array | Array of Strings. |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
code | path | Yes | string | Resource identifier |
Name | In | Is Required | Type | Description |
---|
code | Type: string A unique field code. A unique field identifier is used in API requests. Can contain only letters, digits and underscore. Starts with letter. Example: |
workspace | Type: string (format: iri-reference) The workspace reference to which the field belongs. Example: |
entity | Type: string The entity name to which the field belongs. Should be only one of orders or shipments. Example: |
title | Type: string Field name. Example: |
fieldType | Type: string Field type code. Example: supported field types:
|
Name | In | Is Required | Type | Description |
---|---|---|---|---|
code | path | Yes | string | Resource identifier |
title | Type: string Field name. Example: |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
code | path | Yes | string | Resource identifier |