Terminal49 Custom Field Definitions API

The Custom Field Definitions API from Terminal49 — 2 operation(s) for custom field definitions.

GitHub OpenAPI

Operations 5

GET /custom_field_definitions List custom field definitions #
POST /custom_field_definitions Create a custom field definition #
GET /custom_field_definitions/{id} Get a custom field definition #
PATCH /custom_field_definitions/{id} Update a custom field definition #
DELETE /custom_field_definitions/{id} Delete a custom field definition #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/terminal49:terminal49-custom-field-definitions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

terminal49-custom-field-definitions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Terminal49 API Reference Custom Field Definitions API
  version: 0.2.0
  contact:
    name: Terminal49 API support
    url: https://www.terminal49.com
    email: support@terminal49.com
  description: 'The Terminal 49 API offers a convenient way to programmatically track your shipments from origin to destination.


    Please enter your API key into the "Variables" tab before using these endpoints within Postman.'
  x-label: Beta
  termsOfService: https://www.terminal49.com/terms
  x-synced-from: https://terminal49.com/docs/openapi.json
  x-synced-at: '2026-08-24T18:47:48.161Z'
servers:
- url: https://api.terminal49.com/v2
  description: Production
security:
- authorization: []
tags:
- name: Custom Field Definitions
paths:
  /custom_field_definitions:
    get:
      summary: List custom field definitions
      operationId: get-custom-field-definitions
      tags:
      - Custom Field Definitions
      parameters:
      - schema:
          type: integer
          default: 1
        in: query
        name: page[number]
      - schema:
          type: integer
          default: 25
        in: query
        name: page[size]
      - schema:
          type: string
        in: query
        name: filter[entity_type]
        description: Filter by entity type (Shipment or Container)
      - schema:
          type: string
        in: query
        name: filter[data_type]
        description: Filter by data type
      - schema:
          type: string
        in: query
        name: filter[display_name]
        description: Filter by display name (prefix match)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/custom_field_definition'
                  links:
                    $ref: '#/components/schemas/links'
                  meta:
                    $ref: '#/components/schemas/meta'
    post:
      summary: Create a custom field definition
      operationId: post-custom-field-definitions
      tags:
      - Custom Field Definitions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/custom_field_definition'
                  links:
                    $ref: '#/components/schemas/link-self'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  required:
                  - type
                  - attributes
                  properties:
                    type:
                      type: string
                      enum:
                      - custom_field_definition
                    attributes:
                      type: object
                      required:
                      - entity_type
                      - api_slug
                      - display_name
                      - data_type
                      properties:
                        entity_type:
                          type: string
                          enum:
                          - Shipment
                          - Container
                        api_slug:
                          type: string
                        display_name:
                          type: string
                        description:
                          type:
                          - string
                          - 'null'
                        data_type:
                          type: string
                          enum:
                          - short_text
                          - number
                          - date
                          - datetime
                          - boolean
                          - enum
                          - enum_multi
                          - reference
                        reference_type:
                          type:
                          - string
                          - 'null'
                        validation:
                          type:
                          - object
                          - 'null'
                          additionalProperties: true
                        default_format:
                          type:
                          - string
                          - 'null'
                        default_value:
                          $ref: '#/components/schemas/custom_field_value'
  /custom_field_definitions/{id}:
    parameters:
    - schema:
        type: string
      name: id
      in: path
      required: true
      description: Custom field definition ID
    get:
      summary: Get a custom field definition
      operationId: get-custom-field-definitions-id
      tags:
      - Custom Field Definitions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/custom_field_definition'
                  links:
                    $ref: '#/components/schemas/link-self'
    patch:
      summary: Update a custom field definition
      operationId: patch-custom-field-definitions-id
      tags:
      - Custom Field Definitions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/custom_field_definition'
                  links:
                    $ref: '#/components/schemas/link-self'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  required:
                  - type
                  - attributes
                  properties:
                    type:
                      type: string
                      enum:
                      - custom_field_definition
                    attributes:
                      type: object
                      properties:
                        display_name:
                          type: string
                        description:
                          type:
                          - string
                          - 'null'
                        validation:
                          type:
                          - object
                          - 'null'
                          additionalProperties: true
                        default_format:
                          type:
                          - string
                          - 'null'
                        default_value:
                          $ref: '#/components/schemas/custom_field_value'
    delete:
      summary: Delete a custom field definition
      operationId: delete-custom-field-definitions-id
      tags:
      - Custom Field Definitions
      responses:
        '200':
          description: OK
components:
  schemas:
    meta:
      title: meta
      type: object
      properties:
        size:
          type: integer
        total:
          type: integer
    custom_field_value:
      description: Raw custom field value (type depends on definition)
      oneOf:
      - type: string
      - type: number
      - type: boolean
      - type: array
        items:
          type: string
      - type: object
    links:
      title: links
      type: object
      properties:
        last:
          type: string
          format: uri
        next:
          type: string
          format: uri
        prev:
          type: string
          format: uri
        first:
          type: string
          format: uri
        self:
          type: string
          format: uri
    custom_field_definition:
      title: Custom field definition
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
          - custom_field_definition
        attributes:
          type: object
          properties:
            entity_type:
              type: string
              enum:
              - Shipment
              - Container
              - TrackingRequest
            api_slug:
              type: string
            display_name:
              type: string
            description:
              type:
              - string
              - 'null'
            data_type:
              type: string
              enum:
              - short_text
              - number
              - date
              - datetime
              - boolean
              - enum
              - enum_multi
              - reference
            reference_type:
              type:
              - string
              - 'null'
            validation:
              type:
              - object
              - 'null'
              additionalProperties: true
            default_format:
              type:
              - string
              - 'null'
            default_value:
              $ref: '#/components/schemas/custom_field_value'
          required:
          - entity_type
          - api_slug
          - display_name
          - data_type
      required:
      - id
      - type
    link-self:
      title: link
      type: object
      properties:
        self:
          type: string
          format: uri
  securitySchemes:
    authorization:
      name: Authorization
      type: apiKey
      in: header
      description: 'Use a Terminal49 API key in the `Authorization` header with the `Token` prefix.


        `Authorization: Token YOUR_API_KEY`'
x-tagGroups:
- name: End Points
  tags:
  - Shipments
  - Containers
  - Custom Field Definitions
  - Custom Field Options
  - Custom Fields
  - Tracking Requests
  - Webhooks
  - Webhook Notifications
  - Metro Areas
  - Documents
  - Email Submissions
  - Document Schemas
  - Search
- name: Routing (Paid)
  tags:
  - Routing (Paid)