naftiko: 1.0.0-alpha2 info: label: SAP Commerce Cloud Integration API — Stock description: 'SAP Commerce Cloud Integration API — Stock. 2 operations. Lead operation: SAP Commerce Cloud List stock levels. Self-contained Naftiko capability covering one Sap Commerce Cloud business surface.' tags: - Sap Commerce Cloud - Stock created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SAP_COMMERCE_CLOUD_API_KEY: SAP_COMMERCE_CLOUD_API_KEY capability: consumes: - type: http namespace: integration-stock baseUri: https://{tenant}.{region}.commercecloud.sap/odata2webservices description: SAP Commerce Cloud Integration API — Stock business capability. Self-contained, no shared references. resources: - name: InboundStockLevel-StockLevels path: /InboundStockLevel/StockLevels operations: - name: liststocklevels method: GET description: SAP Commerce Cloud List stock levels outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createstocklevel method: POST description: SAP Commerce Cloud Create or update stock level 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.SAP_COMMERCE_CLOUD_API_KEY}}' exposes: - type: rest namespace: integration-stock-rest port: 8080 description: REST adapter for SAP Commerce Cloud Integration API — Stock. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/inboundstocklevel/stocklevels name: inboundstocklevel-stocklevels description: REST surface for InboundStockLevel-StockLevels. operations: - method: GET name: liststocklevels description: SAP Commerce Cloud List stock levels call: integration-stock.liststocklevels outputParameters: - type: object mapping: $. - method: POST name: createstocklevel description: SAP Commerce Cloud Create or update stock level call: integration-stock.createstocklevel with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: integration-stock-mcp port: 9090 transport: http description: MCP adapter for SAP Commerce Cloud Integration API — Stock. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: sap-commerce-cloud-list-stock description: SAP Commerce Cloud List stock levels hints: readOnly: true destructive: false idempotent: true call: integration-stock.liststocklevels outputParameters: - type: object mapping: $. - name: sap-commerce-cloud-create-update description: SAP Commerce Cloud Create or update stock level hints: readOnly: false destructive: false idempotent: false call: integration-stock.createstocklevel with: body: tools.body outputParameters: - type: object mapping: $.