| Parameter | Required | Description |
|---|---|---|
entity | Yes | Polymorphic relationship to a Shipment or Container |
api_slug | Yes | The slug of the custom field definition |
value | Yes | The field value (must match the definition’s data type) |
| Data type | Expected value format |
|---|---|
short_text | Any string |
number | Numeric value |
date | Date string (parsed using definition’s default_format or flexible parsing) |
datetime | DateTime string |
boolean | true or false |
enum | String matching one of the definition’s option values |
enum_multi | Array of strings matching the definition’s option values |
api_slug must reference a definition belonging to your account or a Terminal49 templateToken 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