naftiko: 1.0.0-alpha2 info: label: TD SYNNEX StreamOne Ion Partner API — Carts description: 'TD SYNNEX StreamOne Ion Partner API — Carts. 5 operations. Lead operation: List Carts. Self-contained Naftiko capability covering one Td Synnex business surface.' tags: - Td Synnex - Carts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TD_SYNNEX_API_KEY: TD_SYNNEX_API_KEY capability: consumes: - type: http namespace: streamone-ion-carts baseUri: https://ion.tdsynnex.com description: TD SYNNEX StreamOne Ion Partner API — Carts business capability. Self-contained, no shared references. resources: - name: v3-accounts-accountId-customers-customerId-carts path: /v3/accounts/{accountId}/customers/{customerId}/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-customers-customerId-carts-cartId path: /v3/accounts/{accountId}/customers/{customerId}/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-customers-customerId-carts-cartId-checkout path: /v3/accounts/{accountId}/customers/{customerId}/carts/{cartId}/checkout operations: - name: checkoutcart method: POST description: Checkout Cart outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.TD_SYNNEX_API_KEY}}' exposes: - type: rest namespace: streamone-ion-carts-rest port: 8080 description: REST adapter for TD SYNNEX StreamOne Ion Partner API — Carts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/accounts/{accountid}/customers/{customerid}/carts name: v3-accounts-accountid-customers-customerid-carts description: REST surface for v3-accounts-accountId-customers-customerId-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}/customers/{customerid}/carts/{cartid} name: v3-accounts-accountid-customers-customerid-carts-cartid description: REST surface for v3-accounts-accountId-customers-customerId-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}/customers/{customerid}/carts/{cartid}/checkout name: v3-accounts-accountid-customers-customerid-carts-cartid-checkout description: REST surface for v3-accounts-accountId-customers-customerId-carts-cartId-checkout. operations: - method: POST name: checkoutcart description: Checkout Cart call: streamone-ion-carts.checkoutcart outputParameters: - type: object mapping: $. - type: mcp namespace: streamone-ion-carts-mcp port: 9090 transport: http description: MCP adapter for TD SYNNEX StreamOne Ion Partner 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 outputParameters: - type: object mapping: $.