Skip to main content
POST
Create a custom field
Use this endpoint to create a custom field value on a shipment or container when you need to send the full JSON:API relationship payload yourself. 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
  • Reference values must match the definition’s configured reference_type
  • The api_slug must reference a definition belonging to your account or a Terminal49 template

Example request

Example response

Authorizations

Authorization
string
header
required

Use a Terminal49 API key in the Authorization header with the Token prefix.

Authorization: Token YOUR_API_KEY

Body

application/json
data
object

Response

201 - application/json

Created

data
Custom field · object