naftiko: 1.0.0-alpha2 info: label: BigCommerce Carts — Items description: 'BigCommerce Carts — Items. 3 operations. Lead operation: BigCommerce Add Cart Line Items. Self-contained Naftiko capability covering one Bigcommerce business surface.' tags: - Bigcommerce - Items created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BIGCOMMERCE_API_KEY: BIGCOMMERCE_API_KEY capability: consumes: - type: http namespace: carts-items baseUri: https://api.bigcommerce.com/stores/{store_hash}/v3 description: BigCommerce Carts — Items business capability. Self-contained, no shared references. resources: - name: carts-cartId-items path: /carts/{cartId}/items operations: - name: addcartlineitems method: POST description: BigCommerce Add Cart Line Items outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: include in: query type: string description: '* `redirect_urls`: Create a direct link to a cart. This can be used for the /POST request for carts.' - name: body in: body type: object description: Request body (JSON). required: true - name: carts-cartId-items-itemId path: /carts/{cartId}/items/{itemId} operations: - name: updatecartlineitem method: PUT description: BigCommerce Update Cart Line Item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: include in: query type: string description: '* `redirect_urls`: Create a direct link to a cart. This can be used for the /POST request for carts.' - name: body in: body type: object description: Request body (JSON). required: true - name: deletecartlineitem method: DELETE description: BigCommerce Delete Cart Line Item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: include in: query type: string description: '* `redirect_urls`: Create a direct link to a cart. This can be used for the /POST request for carts.' authentication: type: apikey key: X-Auth-Token value: '{{env.BIGCOMMERCE_API_KEY}}' placement: header exposes: - type: rest namespace: carts-items-rest port: 8080 description: REST adapter for BigCommerce Carts — Items. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/carts/{cartid}/items name: carts-cartid-items description: REST surface for carts-cartId-items. operations: - method: POST name: addcartlineitems description: BigCommerce Add Cart Line Items call: carts-items.addcartlineitems with: include: rest.include body: rest.body outputParameters: - type: object mapping: $. - path: /v1/carts/{cartid}/items/{itemid} name: carts-cartid-items-itemid description: REST surface for carts-cartId-items-itemId. operations: - method: PUT name: updatecartlineitem description: BigCommerce Update Cart Line Item call: carts-items.updatecartlineitem with: include: rest.include body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletecartlineitem description: BigCommerce Delete Cart Line Item call: carts-items.deletecartlineitem with: include: rest.include outputParameters: - type: object mapping: $. - type: mcp namespace: carts-items-mcp port: 9090 transport: http description: MCP adapter for BigCommerce Carts — Items. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: bigcommerce-add-cart-line-items description: BigCommerce Add Cart Line Items hints: readOnly: false destructive: false idempotent: false call: carts-items.addcartlineitems with: include: tools.include body: tools.body outputParameters: - type: object mapping: $. - name: bigcommerce-update-cart-line-item description: BigCommerce Update Cart Line Item hints: readOnly: false destructive: false idempotent: true call: carts-items.updatecartlineitem with: include: tools.include body: tools.body outputParameters: - type: object mapping: $. - name: bigcommerce-delete-cart-line-item description: BigCommerce Delete Cart Line Item hints: readOnly: false destructive: true idempotent: true call: carts-items.deletecartlineitem with: include: tools.include outputParameters: - type: object mapping: $.