3M · Capability

3M Partner and Supplier API — Orders

3M Partner and Supplier API — Orders. 2 operations. Lead operation: 3M List Orders. Self-contained Naftiko capability covering one 3m business surface.

Run with Naftiko 3mOrders

What You Can Do

GET
Listorders — 3M List Orders
/v1/orders
POST
Createorder — 3M Create an Order
/v1/orders

MCP Tools

3m-list-orders

3M List Orders

read-only idempotent
3m-create-order

3M Create an Order

Capability Spec

partner-supplier-orders.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 3M Partner and Supplier API — Orders
  description: '3M Partner and Supplier API — Orders. 2 operations. Lead operation: 3M List Orders. Self-contained Naftiko
    capability covering one 3m business surface.'
  tags:
  - 3m
  - Orders
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    3M_API_KEY: 3M_API_KEY
capability:
  consumes:
  - type: http
    namespace: partner-supplier-orders
    baseUri: https://api.3m.com
    description: 3M Partner and Supplier API — Orders business capability. Self-contained, no shared references.
    resources:
    - name: orders
      path: /orders
      operations:
      - name: listorders
        method: GET
        description: 3M List Orders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: Filter orders by status (pending, processing, shipped, delivered, cancelled).
        - name: startDate
          in: query
          type: string
          description: Filter orders from this date.
      - name: createorder
        method: POST
        description: 3M Create an Order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.3M_API_KEY}}'
  exposes:
  - type: rest
    namespace: partner-supplier-orders-rest
    port: 8080
    description: REST adapter for 3M Partner and Supplier API — Orders. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/orders
      name: orders
      description: REST surface for orders.
      operations:
      - method: GET
        name: listorders
        description: 3M List Orders
        call: partner-supplier-orders.listorders
        with:
          status: rest.status
          startDate: rest.startDate
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createorder
        description: 3M Create an Order
        call: partner-supplier-orders.createorder
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: partner-supplier-orders-mcp
    port: 9090
    transport: http
    description: MCP adapter for 3M Partner and Supplier API — Orders. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: 3m-list-orders
      description: 3M List Orders
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: partner-supplier-orders.listorders
      with:
        status: tools.status
        startDate: tools.startDate
      outputParameters:
      - type: object
        mapping: $.
    - name: 3m-create-order
      description: 3M Create an Order
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: partner-supplier-orders.createorder
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.