naftiko: 1.0.0-alpha2 info: label: SAP Commerce Cloud Product Content Management API — Products description: 'SAP Commerce Cloud Product Content Management API — Products. 4 operations. Lead operation: SAP Commerce Cloud Get recently updated 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: product-content-management-products baseUri: https://{tenant}.{region}.commercecloud.sap/occ/v2/{baseSiteId} description: SAP Commerce Cloud Product Content Management API — Products business capability. Self-contained, no shared references. resources: - name: products-expressupdate path: /products/expressupdate operations: - name: getproductexpressupdate method: GET description: SAP Commerce Cloud Get recently updated products outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: timestamp in: query type: string description: ISO 8601 timestamp for change detection required: true - name: catalog in: query type: string description: Catalog identifier to filter by - name: products-suggestions path: /products/suggestions operations: - name: getproductsuggestions method: GET description: SAP Commerce Cloud Get product search suggestions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: term in: query type: string description: Partial search term required: true - name: max in: query type: integer description: Maximum number of suggestions - name: products-productCode path: /products/{productCode} operations: - name: getproductcontent method: GET description: SAP Commerce Cloud Get product content outputRawFormat: json outputParameters: - name: result type: object value: $. - name: products-productCode-references path: /products/{productCode}/references operations: - name: getproductreferences method: GET description: SAP Commerce Cloud Get product references outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: referenceType in: query type: string description: Type of reference to filter by authentication: type: bearer token: '{{env.SAP_COMMERCE_CLOUD_API_KEY}}' exposes: - type: rest namespace: product-content-management-products-rest port: 8080 description: REST adapter for SAP Commerce Cloud Product Content Management API — Products. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/products/expressupdate name: products-expressupdate description: REST surface for products-expressupdate. operations: - method: GET name: getproductexpressupdate description: SAP Commerce Cloud Get recently updated products call: product-content-management-products.getproductexpressupdate with: timestamp: rest.timestamp catalog: rest.catalog outputParameters: - type: object mapping: $. - path: /v1/products/suggestions name: products-suggestions description: REST surface for products-suggestions. operations: - method: GET name: getproductsuggestions description: SAP Commerce Cloud Get product search suggestions call: product-content-management-products.getproductsuggestions with: term: rest.term max: rest.max outputParameters: - type: object mapping: $. - path: /v1/products/{productcode} name: products-productcode description: REST surface for products-productCode. operations: - method: GET name: getproductcontent description: SAP Commerce Cloud Get product content call: product-content-management-products.getproductcontent outputParameters: - type: object mapping: $. - path: /v1/products/{productcode}/references name: products-productcode-references description: REST surface for products-productCode-references. operations: - method: GET name: getproductreferences description: SAP Commerce Cloud Get product references call: product-content-management-products.getproductreferences with: referenceType: rest.referenceType outputParameters: - type: object mapping: $. - type: mcp namespace: product-content-management-products-mcp port: 9090 transport: http description: MCP adapter for SAP Commerce Cloud Product Content Management API — Products. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: sap-commerce-cloud-get-recently description: SAP Commerce Cloud Get recently updated products hints: readOnly: true destructive: false idempotent: true call: product-content-management-products.getproductexpressupdate with: timestamp: tools.timestamp catalog: tools.catalog outputParameters: - type: object mapping: $. - name: sap-commerce-cloud-get-product description: SAP Commerce Cloud Get product search suggestions hints: readOnly: true destructive: false idempotent: true call: product-content-management-products.getproductsuggestions with: term: tools.term max: tools.max outputParameters: - type: object mapping: $. - name: sap-commerce-cloud-get-product-2 description: SAP Commerce Cloud Get product content hints: readOnly: true destructive: false idempotent: true call: product-content-management-products.getproductcontent outputParameters: - type: object mapping: $. - name: sap-commerce-cloud-get-product-3 description: SAP Commerce Cloud Get product references hints: readOnly: true destructive: false idempotent: true call: product-content-management-products.getproductreferences with: referenceType: tools.referenceType outputParameters: - type: object mapping: $.