Tech Data · Capability

TD SYNNEX StreamOne Ion API — Carts

TD SYNNEX StreamOne Ion API — Carts. 5 operations. Lead operation: List Carts. Self-contained Naftiko capability covering one Tech Data business surface.

Run with Naftiko Tech DataCarts

What You Can Do

GET
Listcarts — List Carts
/v1/v3/accounts/{accountid}/carts
POST
Createcart — Create Cart
/v1/v3/accounts/{accountid}/carts
GET
Getcart — Get Cart
/v1/v3/accounts/{accountid}/carts/{cartid}
PUT
Updatecart — Update Cart
/v1/v3/accounts/{accountid}/carts/{cartid}
POST
Checkoutcart — Checkout Cart
/v1/v3/accounts/{accountid}/carts/{cartid}/checkout

MCP Tools

list-carts

List Carts

read-only idempotent
create-cart

Create Cart

get-cart

Get Cart

read-only idempotent
update-cart

Update Cart

idempotent
checkout-cart

Checkout Cart

Capability Spec

streamone-ion-carts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: TD SYNNEX StreamOne Ion API — Carts
  description: 'TD SYNNEX StreamOne Ion API — Carts. 5 operations. Lead operation: List Carts. Self-contained Naftiko capability
    covering one Tech Data business surface.'
  tags:
  - Tech Data
  - Carts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TECH_DATA_API_KEY: TECH_DATA_API_KEY
capability:
  consumes:
  - type: http
    namespace: streamone-ion-carts
    baseUri: https://ion.tdsynnex.com/api
    description: TD SYNNEX StreamOne Ion API — Carts business capability. Self-contained, no shared references.
    resources:
    - name: v3-accounts-accountId-carts
      path: /v3/accounts/{accountId}/carts
      operations:
      - name: listcarts
        method: GET
        description: List Carts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcart
        method: POST
        description: Create Cart
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v3-accounts-accountId-carts-cartId
      path: /v3/accounts/{accountId}/carts/{cartId}
      operations:
      - name: getcart
        method: GET
        description: Get Cart
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecart
        method: PUT
        description: Update Cart
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v3-accounts-accountId-carts-cartId-checkout
      path: /v3/accounts/{accountId}/carts/{cartId}/checkout
      operations:
      - name: checkoutcart
        method: POST
        description: Checkout Cart
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.TECH_DATA_API_KEY}}'
  exposes:
  - type: rest
    namespace: streamone-ion-carts-rest
    port: 8080
    description: REST adapter for TD SYNNEX StreamOne Ion API — Carts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v3/accounts/{accountid}/carts
      name: v3-accounts-accountid-carts
      description: REST surface for v3-accounts-accountId-carts.
      operations:
      - method: GET
        name: listcarts
        description: List Carts
        call: streamone-ion-carts.listcarts
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcart
        description: Create Cart
        call: streamone-ion-carts.createcart
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/accounts/{accountid}/carts/{cartid}
      name: v3-accounts-accountid-carts-cartid
      description: REST surface for v3-accounts-accountId-carts-cartId.
      operations:
      - method: GET
        name: getcart
        description: Get Cart
        call: streamone-ion-carts.getcart
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatecart
        description: Update Cart
        call: streamone-ion-carts.updatecart
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/accounts/{accountid}/carts/{cartid}/checkout
      name: v3-accounts-accountid-carts-cartid-checkout
      description: REST surface for v3-accounts-accountId-carts-cartId-checkout.
      operations:
      - method: POST
        name: checkoutcart
        description: Checkout Cart
        call: streamone-ion-carts.checkoutcart
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: streamone-ion-carts-mcp
    port: 9090
    transport: http
    description: MCP adapter for TD SYNNEX StreamOne Ion API — Carts. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-carts
      description: List Carts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: streamone-ion-carts.listcarts
      outputParameters:
      - type: object
        mapping: $.
    - name: create-cart
      description: Create Cart
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: streamone-ion-carts.createcart
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-cart
      description: Get Cart
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: streamone-ion-carts.getcart
      outputParameters:
      - type: object
        mapping: $.
    - name: update-cart
      description: Update Cart
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: streamone-ion-carts.updatecart
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: checkout-cart
      description: Checkout Cart
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: streamone-ion-carts.checkoutcart
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.