Synnex · Capability

TD SYNNEX StreamOne ION API — Cart

TD SYNNEX StreamOne ION API — Cart. 2 operations. Lead operation: Create Cart. Self-contained Naftiko capability covering one Synnex business surface.

Run with Naftiko SynnexCart

What You Can Do

POST
Createcart — Create Cart
/v1/accounts/{accountid}/cart
POST
Checkoutcart — Checkout Cart
/v1/accounts/{accountid}/cart/{cartid}/checkout

MCP Tools

create-cart

Create Cart

checkout-cart

Checkout Cart

Capability Spec

streamone-ion-cart.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: TD SYNNEX StreamOne ION API — Cart
  description: 'TD SYNNEX StreamOne ION API — Cart. 2 operations. Lead operation: Create Cart. Self-contained Naftiko capability
    covering one Synnex business surface.'
  tags:
  - Synnex
  - Cart
  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-cart
    baseUri: https://ion.tdsynnex.com/api/v3
    description: TD SYNNEX StreamOne ION API — Cart business capability. Self-contained, no shared references.
    resources:
    - name: accounts-accountId-cart
      path: /accounts/{accountId}/cart
      operations:
      - 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: accounts-accountId-cart-cartId-checkout
      path: /accounts/{accountId}/cart/{cartId}/checkout
      operations:
      - name: checkoutcart
        method: POST
        description: Checkout Cart
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cartId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.SYNNEX_API_KEY}}'
  exposes:
  - type: rest
    namespace: streamone-ion-cart-rest
    port: 8080
    description: REST adapter for TD SYNNEX StreamOne ION API — Cart. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/accounts/{accountid}/cart
      name: accounts-accountid-cart
      description: REST surface for accounts-accountId-cart.
      operations:
      - method: POST
        name: createcart
        description: Create Cart
        call: streamone-ion-cart.createcart
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{accountid}/cart/{cartid}/checkout
      name: accounts-accountid-cart-cartid-checkout
      description: REST surface for accounts-accountId-cart-cartId-checkout.
      operations:
      - method: POST
        name: checkoutcart
        description: Checkout Cart
        call: streamone-ion-cart.checkoutcart
        with:
          cartId: rest.cartId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: streamone-ion-cart-mcp
    port: 9090
    transport: http
    description: MCP adapter for TD SYNNEX StreamOne ION API — Cart. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-cart
      description: Create Cart
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: streamone-ion-cart.createcart
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: checkout-cart
      description: Checkout Cart
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: streamone-ion-cart.checkoutcart
      with:
        cartId: tools.cartId
      outputParameters:
      - type: object
        mapping: $.