naftiko: 1.0.0-alpha2 info: label: Optimizely Commerce Service API — Customers description: 'Optimizely Commerce Service API — Customers. 1 operations. Lead operation: Get a customer. Self-contained Naftiko capability covering one Optimizely business surface.' tags: - Optimizely - Customers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: OPTIMIZELY_API_KEY: OPTIMIZELY_API_KEY capability: consumes: - type: http namespace: commerce-service-customers baseUri: '' description: Optimizely Commerce Service API — Customers business capability. Self-contained, no shared references. resources: - name: commerce-customers-customerId path: /commerce/customers/{customerId} operations: - name: getcustomer method: GET description: Get a customer outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.OPTIMIZELY_API_KEY}}' exposes: - type: rest namespace: commerce-service-customers-rest port: 8080 description: REST adapter for Optimizely Commerce Service API — Customers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/commerce/customers/{customerid} name: commerce-customers-customerid description: REST surface for commerce-customers-customerId. operations: - method: GET name: getcustomer description: Get a customer call: commerce-service-customers.getcustomer outputParameters: - type: object mapping: $. - type: mcp namespace: commerce-service-customers-mcp port: 9090 transport: http description: MCP adapter for Optimizely Commerce Service API — Customers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-customer description: Get a customer hints: readOnly: true destructive: false idempotent: true call: commerce-service-customers.getcustomer outputParameters: - type: object mapping: $.