Synnex · Capability

TD SYNNEX StreamOne ION API — Orders

TD SYNNEX StreamOne ION API — Orders. 3 operations. Lead operation: List Orders. Self-contained Naftiko capability covering one Synnex business surface.

Run with Naftiko SynnexOrders

What You Can Do

GET
Listorders — List Orders
/v1/accounts/{accountid}/orders
POST
Createorder — Create Order
/v1/accounts/{accountid}/orders
GET
Getorder — Get Order
/v1/accounts/{accountid}/orders/{orderid}

MCP Tools

list-orders

List Orders

read-only idempotent
create-order

Create Order

get-order

Get Order

read-only idempotent

Capability Spec

streamone-ion-orders.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: TD SYNNEX StreamOne ION API — Orders
  description: 'TD SYNNEX StreamOne ION API — Orders. 3 operations. Lead operation: List Orders. Self-contained Naftiko capability
    covering one Synnex business surface.'
  tags:
  - Synnex
  - Orders
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SYNNEX_API_KEY: SYNNEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: streamone-ion-orders
    baseUri: https://ion.tdsynnex.com/api/v3
    description: TD SYNNEX StreamOne ION API — Orders business capability. Self-contained, no shared references.
    resources:
    - name: accounts-accountId-orders
      path: /accounts/{accountId}/orders
      operations:
      - name: listorders
        method: GET
        description: List Orders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
      - name: createorder
        method: POST
        description: Create Order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-accountId-orders-orderId
      path: /accounts/{accountId}/orders/{orderId}
      operations:
      - name: getorder
        method: GET
        description: Get Order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.SYNNEX_API_KEY}}'
  exposes:
  - type: rest
    namespace: streamone-ion-orders-rest
    port: 8080
    description: REST adapter for TD SYNNEX StreamOne ION API — Orders. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/accounts/{accountid}/orders
      name: accounts-accountid-orders
      description: REST surface for accounts-accountId-orders.
      operations:
      - method: GET
        name: listorders
        description: List Orders
        call: streamone-ion-orders.listorders
        with:
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createorder
        description: Create Order
        call: streamone-ion-orders.createorder
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{accountid}/orders/{orderid}
      name: accounts-accountid-orders-orderid
      description: REST surface for accounts-accountId-orders-orderId.
      operations:
      - method: GET
        name: getorder
        description: Get Order
        call: streamone-ion-orders.getorder
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: streamone-ion-orders-mcp
    port: 9090
    transport: http
    description: MCP adapter for TD SYNNEX StreamOne ION API — Orders. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-orders
      description: List Orders
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: streamone-ion-orders.listorders
      with:
        status: tools.status
      outputParameters:
      - type: object
        mapping: $.
    - name: create-order
      description: Create Order
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: streamone-ion-orders.createorder
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-order
      description: Get Order
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: streamone-ion-orders.getorder
      outputParameters:
      - type: object
        mapping: $.