SAP Commerce Cloud · Capability

SAP Commerce Cloud Assisted Service Module API — Carts

SAP Commerce Cloud Assisted Service Module API — Carts. 1 operations. Lead operation: SAP Commerce Cloud List customer carts. Self-contained Naftiko capability covering one Sap Commerce Cloud business surface.

Run with Naftiko Sap Commerce CloudCarts

What You Can Do

GET
Getcustomercarts — SAP Commerce Cloud List customer carts
/v1/customers/{customerid}/carts

MCP Tools

sap-commerce-cloud-list-customer

SAP Commerce Cloud List customer carts

read-only idempotent

Capability Spec

assisted-service-carts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SAP Commerce Cloud Assisted Service Module API — Carts
  description: 'SAP Commerce Cloud Assisted Service Module API — Carts. 1 operations. Lead operation: SAP Commerce Cloud List
    customer carts. Self-contained Naftiko capability covering one Sap Commerce Cloud business surface.'
  tags:
  - Sap Commerce Cloud
  - Carts
  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-carts
    baseUri: https://{tenant}.{region}.commercecloud.sap/assistedservicewebservices
    description: SAP Commerce Cloud Assisted Service Module API — Carts business capability. Self-contained, no shared references.
    resources:
    - name: customers-customerId-carts
      path: /customers/{customerId}/carts
      operations:
      - name: getcustomercarts
        method: GET
        description: SAP Commerce Cloud List customer carts
        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-carts-rest
    port: 8080
    description: REST adapter for SAP Commerce Cloud Assisted Service Module API — Carts. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/customers/{customerid}/carts
      name: customers-customerid-carts
      description: REST surface for customers-customerId-carts.
      operations:
      - method: GET
        name: getcustomercarts
        description: SAP Commerce Cloud List customer carts
        call: assisted-service-carts.getcustomercarts
        with:
          baseSite: rest.baseSite
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: assisted-service-carts-mcp
    port: 9090
    transport: http
    description: MCP adapter for SAP Commerce Cloud Assisted Service Module API — Carts. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: sap-commerce-cloud-list-customer
      description: SAP Commerce Cloud List customer carts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: assisted-service-carts.getcustomercarts
      with:
        baseSite: tools.baseSite
      outputParameters:
      - type: object
        mapping: $.