naftiko: 1.0.0-alpha2 info: label: SAP Commerce Cloud Integration API — Products description: 'SAP Commerce Cloud Integration API — Products. 5 operations. Lead operation: SAP Commerce Cloud List products. Self-contained Naftiko capability covering one Sap Commerce Cloud business surface.' tags: - Sap Commerce Cloud - Products 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-products baseUri: https://{tenant}.{region}.commercecloud.sap/odata2webservices description: SAP Commerce Cloud Integration API — Products business capability. Self-contained, no shared references. resources: - name: InboundProduct-Products path: /InboundProduct/Products operations: - name: listproducts method: GET description: SAP Commerce Cloud List products outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createproduct method: POST description: SAP Commerce Cloud Create or update a product outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: InboundProduct-Products('{integrationKey}') path: /InboundProduct/Products('{integrationKey}') operations: - name: getproduct method: GET description: SAP Commerce Cloud Get product by integration key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateproduct method: PATCH description: SAP Commerce Cloud Update a product outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteproduct method: DELETE description: SAP Commerce Cloud Delete a product outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SAP_COMMERCE_CLOUD_API_KEY}}' exposes: - type: rest namespace: integration-products-rest port: 8080 description: REST adapter for SAP Commerce Cloud Integration API — Products. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/inboundproduct/products name: inboundproduct-products description: REST surface for InboundProduct-Products. operations: - method: GET name: listproducts description: SAP Commerce Cloud List products call: integration-products.listproducts outputParameters: - type: object mapping: $. - method: POST name: createproduct description: SAP Commerce Cloud Create or update a product call: integration-products.createproduct with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/inboundproduct/products-integrationkey name: inboundproduct-products-integrationkey description: REST surface for InboundProduct-Products('{integrationKey}'). operations: - method: GET name: getproduct description: SAP Commerce Cloud Get product by integration key call: integration-products.getproduct outputParameters: - type: object mapping: $. - method: PATCH name: updateproduct description: SAP Commerce Cloud Update a product call: integration-products.updateproduct with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteproduct description: SAP Commerce Cloud Delete a product call: integration-products.deleteproduct outputParameters: - type: object mapping: $. - type: mcp namespace: integration-products-mcp port: 9090 transport: http description: MCP adapter for SAP Commerce Cloud Integration API — Products. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: sap-commerce-cloud-list-products description: SAP Commerce Cloud List products hints: readOnly: true destructive: false idempotent: true call: integration-products.listproducts outputParameters: - type: object mapping: $. - name: sap-commerce-cloud-create-update description: SAP Commerce Cloud Create or update a product hints: readOnly: false destructive: false idempotent: false call: integration-products.createproduct with: body: tools.body outputParameters: - type: object mapping: $. - name: sap-commerce-cloud-get-product description: SAP Commerce Cloud Get product by integration key hints: readOnly: true destructive: false idempotent: true call: integration-products.getproduct outputParameters: - type: object mapping: $. - name: sap-commerce-cloud-update-product description: SAP Commerce Cloud Update a product hints: readOnly: false destructive: false idempotent: true call: integration-products.updateproduct with: body: tools.body outputParameters: - type: object mapping: $. - name: sap-commerce-cloud-delete-product description: SAP Commerce Cloud Delete a product hints: readOnly: false destructive: true idempotent: true call: integration-products.deleteproduct outputParameters: - type: object mapping: $.