Terminal49 Custom Fields API

The Custom Fields API from Terminal49 — 2 operation(s) for custom fields.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /custom_fields List custom fields #
POST /custom_fields Create a custom field #
GET /custom_fields/{id} Get a custom field #
PATCH /custom_fields/{id} Update a custom field #
DELETE /custom_fields/{id} Delete a custom field #

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-fields-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

terminal49-custom-fields-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Terminal49 Custom Fields API
  version: 0.2.0
  contact:
    name: Terminal49 API support
    url: https://www.terminal49.com
    email: support@terminal49.com
  termsOfService: https://www.terminal49.com/terms
  x-label: Beta
  x-refined-note:
  - x-synced-at differs across the merged source definitions and was not carried
  - x-synced-from differs across the merged source definitions and was not carried
  description: 'Operations tagged Custom Fields across 2 of this provider''s published API definitions: terminal49-docs-openapi.json, terminal49-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.terminal49.com/v2
  description: Production
security:
- authorization: []
tags:
- name: Custom Fields
paths:
  /custom_fields:
    get:
      summary: List custom fields
      operationId: get-custom-fields
      tags:
      - Custom Fields
      parameters:
      - schema:
          type: integer
          minimum: 1
        in: query
        name: page[number]
        description: Page to return, starting at 1. Sending `page[number]` or `page[size]` turns on pagination. If you send only `page[number]`, pages hold 30 records.
        example: 1
      - schema:
          type: integer
          minimum: 1
        in: query
        name: page[size]
        description: Records per page. Sending `page[number]` or `page[size]` turns on pagination. Without either, the response holds every matching value.
        example: 100
      - schema:
          type: string
          enum:
          - Shipment
          - Cargo
          - TrackingRequest
        in: query
        name: filter[entity_type]
        description: 'Filter by entity type. The value must match exactly: `Shipment`, `Cargo` (containers) or `TrackingRequest`.'
      - schema:
          type: string
        in: query
        name: filter[entity_id]
        description: Filter by entity ID
      - schema:
          type: string
        in: query
        name: filter[definition_id]
        description: Filter by custom field definition ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/custom_field'
                  meta:
                    $ref: '#/components/schemas/meta'
                  links:
                    $ref: '#/components/schemas/links'
      description: Pagination is optional. Send `page[number]` or `page[size]` to page through the results, oldest value first. The response then includes `meta` and pagination `links`. If you send neither, the API returns every matching value in one response, with no `meta`. Ignore its `links` in that case. On accounts with many values, paginate or filter so each request stays fast.
    post:
      summary: Create a custom field
      operationId: post-custom-fields
      tags:
      - Custom Fields
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/custom_field'
                  links:
                    $ref: '#/components/schemas/link-self'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  required:
                  - type
                  - attributes
                  - relationships
                  properties:
                    type:
                      type: string
                      enum:
                      - custom_field
                    attributes:
                      type: object
                      required:
                      - api_slug
                      - value
                      properties:
                        api_slug:
                          type: string
                        value:
                          $ref: '#/components/schemas/custom_field_value'
                    relationships:
                      type: object
                      properties:
                        entity:
                          type: object
                          properties:
                            data:
                              type: object
                              required:
                              - type
                              - id
                              properties:
                                type:
                                  type: string
                                  enum:
                                  - shipment
                                  - container
                                  - tracking_request
                                id:
                                  type: string
                                  format: uuid
            example:
              data:
                type: custom_field
                attributes:
                  api_slug: customer_reference_number
                  value: ABC124
                relationships:
                  entity:
                    data:
                      type: shipment
                      id: YOUR_SHIPMENT_ID
    servers:
    - url: https://api.terminal49.com/v2
      description: Production
  /custom_fields/{id}:
    parameters:
    - schema:
        type: string
      name: id
      in: path
      required: true
      description: Custom field ID
    get:
      summary: Get a custom field
      operationId: get-custom-fields-id
      tags:
      - Custom Fields
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/custom_field'
                  links:
                    $ref: '#/components/schemas/link-self'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      summary: Update a custom field
      operationId: patch-custom-fields-id
      tags:
      - Custom Fields
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/custom_field'
                  links:
                    $ref: '#/components/schemas/link-self'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  required:
                  - type
                  - attributes
                  properties:
                    type:
                      type: string
                      enum:
                      - custom_field
                    attributes:
                      type: object
                      required:
                      - value
                      properties:
                        value:
                          $ref: '#/components/schemas/custom_field_value'
    delete:
      summary: Delete a custom field
      operationId: delete-custom-fields-id
      tags:
      - Custom Fields
      responses:
        '204':
          description: No Content
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    servers:
    - url: https://api.terminal49.com/v2
      description: Production
components:
  schemas:
    custom_field:
      title: Custom field
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
          - custom_field
        attributes:
          type: object
          properties:
            api_slug:
              type: string
            value:
              $ref: '#/components/schemas/custom_field_value'
            display_value:
              type:
              - string
              - 'null'
              description: Formatted value for display
          required:
          - api_slug
        relationships:
          type: object
          properties:
            entity:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                      - shipment
                      - container
                      - tracking_request
                    id:
                      type: string
                      format: uuid
                  required:
                  - type
                  - id
            definition:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                      - custom_field_definition
                    id:
                      type: string
                      format: uuid
                  required:
                  - type
                  - id
      required:
      - id
      - type
    error:
      title: Error model
      type: object
      properties:
        detail:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        source:
          type:
          - object
          - 'null'
          properties:
            pointer:
              type:
              - string
              - 'null'
            parameter:
              type:
              - string
              - 'null'
        code:
          type:
          - string
          - 'null'
        status:
          type:
          - string
          - 'null'
        meta:
          type:
          - object
          - 'null'
          additionalProperties: true
    custom_field_value:
      description: Raw custom field value (type depends on definition)
      oneOf:
      - type:
        - string
        - 'null'
      - type: number
      - type: boolean
      - type: array
        items:
          type: string
      - type: object
        additionalProperties: true
    meta:
      title: meta
      type: object
      properties:
        size:
          type: integer
        total:
          type: integer
    links:
      title: links
      type: object
      properties:
        self:
          type: string
        current:
          type: string
        first:
          type: string
        prev:
          type: string
        next:
          type: string
        last:
          type: string
      description: Pagination links. Each value is an absolute URL. `self` repeats the request URL as sent, including its query string and its encoding. `current`, `first`, `prev`, `next`, and `last` repeat the request's query parameters, with `page[number]` and `page[size]` in unencoded brackets.
    link-self:
      title: link
      type: object
      properties:
        self:
          type: string
          description: Absolute URL of the request, including its query string as sent. On a create, this is the collection URL the request was posted to, not the URL of the new resource.
    custom_field_value_2:
      description: Raw custom field value (type depends on definition)
      oneOf:
      - type: string
      - type: number
      - type: boolean
      - type: array
        items:
          type: string
      - type: object
    links_2:
      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
    link-self_2:
      title: link
      type: object
      properties:
        self:
          type: string
          format: uri
  responses:
    Unauthorized:
      description: Unauthorized. The API token is missing or invalid, or the account may not perform this action.
      content:
        application/json:
          schema:
            type: object
            properties:
              errors:
                type: array
                items:
                  $ref: '#/components/schemas/error'
          example:
            errors:
            - detail: You are not allowed to perform this action
    NotFound:
      description: Not Found
      content:
        application/json:
          schema:
            type: object
            properties:
              errors:
                type: array
                items:
                  $ref: '#/components/schemas/error'
          example:
            errors:
            - status: '404'
              title: Not Found
    UnprocessableEntity:
      description: Unprocessable Entity
      content:
        application/json:
          schema:
            type: object
            properties:
              errors:
                type: array
                items:
                  $ref: '#/components/schemas/error'
          example:
            errors:
            - status: '422'
              source:
                pointer: /data/attributes/label
              title: Unprocessable Entity
              detail: Label can't be blank
              code: blank
  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-refined-from:
- terminal49-docs-openapi.json
- terminal49-openapi.json
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)
- name: Trade Intelligence
  tags:
  - Trade Intelligence