Create a custom field option
Custom Field Options
Create a custom field option
Add an enum option to a custom field definition in the Terminal49 API so users can select it when applying the custom field to shipments or containers.
POST
Create a custom field option
Create a new option for anDocumentation Index
Fetch the complete documentation index at: https://terminal49.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
enum or enum_multi custom field definition.
Path parameters
| Parameter | Description |
|---|---|
definition_id | The unique identifier of the custom field definition |
Request body
| Parameter | Required | Description |
|---|---|---|
label | Yes | Display label shown to users |
value | Yes | Stored value (unique per definition) |
position | No | Sort order for the option |
Notes
Options can only be added to definitions withdata_type of enum or enum_multi.Authorizations
Token YOUR_API_TOKEN
The APIs require authentication to be done using header-based API Key and Secret Authentication.
API key and secret are sent va the Authorization request header.
You send your API key and secret in the following way:
Authorization: Token YOUR_API_KEY
Path Parameters
Custom field definition ID
Body
application/json