Skip to main content
POST
Create a custom field
Use this endpoint to create a custom field value on a shipment or container. The field must reference an existing custom field definition.

Request body

Value formats by data type

Validation

  • Values are validated against the definition’s data type
  • Enum values must match one of the definition’s configured options
  • The api_slug must reference a definition belonging to your account or a Terminal49 template

Authorizations

Authorization
string
header
required

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

Body

application/json
data
object

Response

201 - application/json

Created

data
Custom field · object