Deel · Capability

Endpoints — subpackage_orders

Endpoints — subpackage_orders. 2 operations. Lead operation: List IT orders. Self-contained Naftiko capability covering one Deel business surface.

Run with Naftiko Deelsubpackage_orders

What You Can Do

GET
Getitorders — List IT orders
/v1/it/orders
GET
Getitorderbyid — Retrieve an IT order
/v1/it/orders/{order-id}

MCP Tools

list-it-orders

List IT orders

read-only idempotent
retrieve-it-order

Retrieve an IT order

read-only idempotent

Capability Spec

platform-endpoints-subpackage-orders.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Endpoints — subpackage_orders
  description: 'Endpoints — subpackage_orders. 2 operations. Lead operation: List IT orders. Self-contained Naftiko capability
    covering one Deel business surface.'
  tags:
  - Deel
  - subpackage_orders
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEEL_API_KEY: DEEL_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-endpoints-subpackage-orders
    baseUri: https://api.letsdeel.com/rest/v2
    description: Endpoints — subpackage_orders business capability. Self-contained, no shared references.
    resources:
    - name: it-orders
      path: /it/orders
      operations:
      - name: getitorders
        method: GET
        description: List IT orders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cursor
          in: query
          type: string
          description: Indicates where the next page of results starts, as returned in a paginated list response
        - name: limit
          in: query
          type: integer
          description: Return a page of results with given number of records
        - name: Authorization
          in: header
          type: string
          description: '## Authentication'
          required: true
    - name: it-orders-order_id
      path: /it/orders/{order_id}
      operations:
      - name: getitorderbyid
        method: GET
        description: Retrieve an IT order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order_id
          in: path
          type: string
          description: Unique identifier of the IT order
          required: true
        - name: Authorization
          in: header
          type: string
          description: '## Authentication'
          required: true
    authentication:
      type: bearer
      token: '{{env.DEEL_API_KEY}}'
  exposes:
  - type: rest
    namespace: platform-endpoints-subpackage-orders-rest
    port: 8080
    description: REST adapter for Endpoints — subpackage_orders. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/it/orders
      name: it-orders
      description: REST surface for it-orders.
      operations:
      - method: GET
        name: getitorders
        description: List IT orders
        call: platform-endpoints-subpackage-orders.getitorders
        with:
          cursor: rest.cursor
          limit: rest.limit
          Authorization: rest.Authorization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/it/orders/{order-id}
      name: it-orders-order-id
      description: REST surface for it-orders-order_id.
      operations:
      - method: GET
        name: getitorderbyid
        description: Retrieve an IT order
        call: platform-endpoints-subpackage-orders.getitorderbyid
        with:
          order_id: rest.order_id
          Authorization: rest.Authorization
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-endpoints-subpackage-orders-mcp
    port: 9090
    transport: http
    description: MCP adapter for Endpoints — subpackage_orders. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-it-orders
      description: List IT orders
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-endpoints-subpackage-orders.getitorders
      with:
        cursor: tools.cursor
        limit: tools.limit
        Authorization: tools.Authorization
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-it-order
      description: Retrieve an IT order
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-endpoints-subpackage-orders.getitorderbyid
      with:
        order_id: tools.order_id
        Authorization: tools.Authorization
      outputParameters:
      - type: object
        mapping: $.