Tech Data · Capability

TD SYNNEX StreamOne Ion API — Cart Items

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

Run with Naftiko Tech DataCart Items

What You Can Do

GET
Listcartitems — List Cart Items
/v1/v3/accounts/{accountid}/carts/{cartid}/items
POST
Addcartitem — Add Cart Item
/v1/v3/accounts/{accountid}/carts/{cartid}/items
GET
Getcartitem — Get Cart Item
/v1/v3/accounts/{accountid}/carts/{cartid}/items/{itemid}
PUT
Updatecartitem — Update Cart Item
/v1/v3/accounts/{accountid}/carts/{cartid}/items/{itemid}

MCP Tools

list-cart-items

List Cart Items

read-only idempotent
add-cart-item

Add Cart Item

get-cart-item

Get Cart Item

read-only idempotent
update-cart-item

Update Cart Item

idempotent

Capability Spec

streamone-ion-cart-items.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: TD SYNNEX StreamOne Ion API — Cart Items
  description: 'TD SYNNEX StreamOne Ion API — Cart Items. 4 operations. Lead operation: List Cart Items. Self-contained Naftiko
    capability covering one Tech Data business surface.'
  tags:
  - Tech Data
  - Cart Items
  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-cart-items
    baseUri: https://ion.tdsynnex.com/api
    description: TD SYNNEX StreamOne Ion API — Cart Items business capability. Self-contained, no shared references.
    resources:
    - name: v3-accounts-accountId-carts-cartId-items
      path: /v3/accounts/{accountId}/carts/{cartId}/items
      operations:
      - name: listcartitems
        method: GET
        description: List Cart Items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: addcartitem
        method: POST
        description: Add Cart Item
        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-items-itemId
      path: /v3/accounts/{accountId}/carts/{cartId}/items/{itemId}
      operations:
      - name: getcartitem
        method: GET
        description: Get Cart Item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecartitem
        method: PUT
        description: Update Cart Item
        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.TECH_DATA_API_KEY}}'
  exposes:
  - type: rest
    namespace: streamone-ion-cart-items-rest
    port: 8080
    description: REST adapter for TD SYNNEX StreamOne Ion API — Cart Items. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v3/accounts/{accountid}/carts/{cartid}/items
      name: v3-accounts-accountid-carts-cartid-items
      description: REST surface for v3-accounts-accountId-carts-cartId-items.
      operations:
      - method: GET
        name: listcartitems
        description: List Cart Items
        call: streamone-ion-cart-items.listcartitems
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: addcartitem
        description: Add Cart Item
        call: streamone-ion-cart-items.addcartitem
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/accounts/{accountid}/carts/{cartid}/items/{itemid}
      name: v3-accounts-accountid-carts-cartid-items-itemid
      description: REST surface for v3-accounts-accountId-carts-cartId-items-itemId.
      operations:
      - method: GET
        name: getcartitem
        description: Get Cart Item
        call: streamone-ion-cart-items.getcartitem
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatecartitem
        description: Update Cart Item
        call: streamone-ion-cart-items.updatecartitem
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: streamone-ion-cart-items-mcp
    port: 9090
    transport: http
    description: MCP adapter for TD SYNNEX StreamOne Ion API — Cart Items. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-cart-items
      description: List Cart Items
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: streamone-ion-cart-items.listcartitems
      outputParameters:
      - type: object
        mapping: $.
    - name: add-cart-item
      description: Add Cart Item
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: streamone-ion-cart-items.addcartitem
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-cart-item
      description: Get Cart Item
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: streamone-ion-cart-items.getcartitem
      outputParameters:
      - type: object
        mapping: $.
    - name: update-cart-item
      description: Update Cart Item
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: streamone-ion-cart-items.updatecartitem
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.