ODFL Bill of Lading API — Bill of Lading

ODFL Bill of Lading API — Bill of Lading. 1 operations. Lead operation: Create an electronic bill of lading. Self-contained Naftiko capability covering one Old Dominion Freight Line business surface.

Run with Naftiko Old Dominion Freight LineBill of Lading

What You Can Do

POST
Createbilloflading — Create an electronic bill of lading
/v1/createbol

MCP Tools

create-electronic-bill-lading

Create an electronic bill of lading

Capability Spec

bill-of-lading-bill-of-lading.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ODFL Bill of Lading API — Bill of Lading
  description: 'ODFL Bill of Lading API — Bill of Lading. 1 operations. Lead operation: Create an electronic bill of lading.
    Self-contained Naftiko capability covering one Old Dominion Freight Line business surface.'
  tags:
  - Old Dominion Freight Line
  - Bill of Lading
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    OLD_DOMINION_FREIGHT_LINE_API_KEY: OLD_DOMINION_FREIGHT_LINE_API_KEY
capability:
  consumes:
  - type: http
    namespace: bill-of-lading-bill-of-lading
    baseUri: https://www.odfl.com/wsBOL/v3
    description: ODFL Bill of Lading API — Bill of Lading business capability. Self-contained, no shared references.
    resources:
    - name: createBOL
      path: /createBOL
      operations:
      - name: createbilloflading
        method: POST
        description: Create an electronic bill of lading
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.OLD_DOMINION_FREIGHT_LINE_USER}}'
      password: '{{env.OLD_DOMINION_FREIGHT_LINE_PASS}}'
  exposes:
  - type: rest
    namespace: bill-of-lading-bill-of-lading-rest
    port: 8080
    description: REST adapter for ODFL Bill of Lading API — Bill of Lading. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/createbol
      name: createbol
      description: REST surface for createBOL.
      operations:
      - method: POST
        name: createbilloflading
        description: Create an electronic bill of lading
        call: bill-of-lading-bill-of-lading.createbilloflading
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bill-of-lading-bill-of-lading-mcp
    port: 9090
    transport: http
    description: MCP adapter for ODFL Bill of Lading API — Bill of Lading. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: create-electronic-bill-lading
      description: Create an electronic bill of lading
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bill-of-lading-bill-of-lading.createbilloflading
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.