SAP Commerce Cloud · Capability

SAP Commerce Cloud Assisted Service Module API — Customers

SAP Commerce Cloud Assisted Service Module API — Customers. 2 operations. Lead operation: SAP Commerce Cloud Search customers. Self-contained Naftiko capability covering one Sap Commerce Cloud business surface.

Run with Naftiko Sap Commerce CloudCustomers

What You Can Do

GET
Searchcustomers — SAP Commerce Cloud Search customers
/v1/customers/search
GET
Getcustomer360 — SAP Commerce Cloud Get customer 360 view
/v1/customers/{customerid}

MCP Tools

sap-commerce-cloud-search-customers

SAP Commerce Cloud Search customers

read-only idempotent
sap-commerce-cloud-get-customer

SAP Commerce Cloud Get customer 360 view

read-only idempotent

Capability Spec

assisted-service-customers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SAP Commerce Cloud Assisted Service Module API — Customers
  description: 'SAP Commerce Cloud Assisted Service Module API — Customers. 2 operations. Lead operation: SAP Commerce Cloud
    Search customers. Self-contained Naftiko capability covering one Sap Commerce Cloud business surface.'
  tags:
  - Sap Commerce Cloud
  - Customers
  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: assisted-service-customers
    baseUri: https://{tenant}.{region}.commercecloud.sap/assistedservicewebservices
    description: SAP Commerce Cloud Assisted Service Module API — Customers business capability. Self-contained, no shared
      references.
    resources:
    - name: customers-search
      path: /customers/search
      operations:
      - name: searchcustomers
        method: GET
        description: SAP Commerce Cloud Search customers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query
          in: query
          type: string
          description: Search query (name, email, or customer ID)
          required: true
        - name: baseSite
          in: query
          type: string
          description: Base site identifier
          required: true
    - name: customers-customerId
      path: /customers/{customerId}
      operations:
      - name: getcustomer360
        method: GET
        description: SAP Commerce Cloud Get customer 360 view
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: baseSite
          in: query
          type: string
          description: Base site identifier
          required: true
    authentication:
      type: bearer
      token: '{{env.SAP_COMMERCE_CLOUD_API_KEY}}'
  exposes:
  - type: rest
    namespace: assisted-service-customers-rest
    port: 8080
    description: REST adapter for SAP Commerce Cloud Assisted Service Module API — Customers. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/customers/search
      name: customers-search
      description: REST surface for customers-search.
      operations:
      - method: GET
        name: searchcustomers
        description: SAP Commerce Cloud Search customers
        call: assisted-service-customers.searchcustomers
        with:
          query: rest.query
          baseSite: rest.baseSite
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customers/{customerid}
      name: customers-customerid
      description: REST surface for customers-customerId.
      operations:
      - method: GET
        name: getcustomer360
        description: SAP Commerce Cloud Get customer 360 view
        call: assisted-service-customers.getcustomer360
        with:
          baseSite: rest.baseSite
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: assisted-service-customers-mcp
    port: 9090
    transport: http
    description: MCP adapter for SAP Commerce Cloud Assisted Service Module API — Customers. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: sap-commerce-cloud-search-customers
      description: SAP Commerce Cloud Search customers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: assisted-service-customers.searchcustomers
      with:
        query: tools.query
        baseSite: tools.baseSite
      outputParameters:
      - type: object
        mapping: $.
    - name: sap-commerce-cloud-get-customer
      description: SAP Commerce Cloud Get customer 360 view
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: assisted-service-customers.getcustomer360
      with:
        baseSite: tools.baseSite
      outputParameters:
      - type: object
        mapping: $.