SAP Commerce Cloud · Capability

SAP Commerce Cloud Product Content Management API — Categories

SAP Commerce Cloud Product Content Management API — Categories. 1 operations. Lead operation: SAP Commerce Cloud Get category content. Self-contained Naftiko capability covering one Sap Commerce Cloud business surface.

Run with Naftiko Sap Commerce CloudCategories

What You Can Do

GET
Getcategorycontent — SAP Commerce Cloud Get category content
/v1/catalogs/{catalogid}/{catalogversionid}/categories/{categoryid}

MCP Tools

sap-commerce-cloud-get-category

SAP Commerce Cloud Get category content

read-only idempotent

Capability Spec

product-content-management-categories.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SAP Commerce Cloud Product Content Management API — Categories
  description: 'SAP Commerce Cloud Product Content Management API — Categories. 1 operations. Lead operation: SAP Commerce
    Cloud Get category content. Self-contained Naftiko capability covering one Sap Commerce Cloud business surface.'
  tags:
  - Sap Commerce Cloud
  - Categories
  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-categories
    baseUri: https://{tenant}.{region}.commercecloud.sap/occ/v2/{baseSiteId}
    description: SAP Commerce Cloud Product Content Management API — Categories business capability. Self-contained, no shared
      references.
    resources:
    - name: catalogs-catalogId-catalogVersionId-categories-categoryId
      path: /catalogs/{catalogId}/{catalogVersionId}/categories/{categoryId}
      operations:
      - name: getcategorycontent
        method: GET
        description: SAP Commerce Cloud Get category content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: catalogId
          in: path
          type: string
          description: Catalog identifier
          required: true
        - name: catalogVersionId
          in: path
          type: string
          description: Catalog version identifier
          required: true
        - name: categoryId
          in: path
          type: string
          description: Category identifier
          required: true
    authentication:
      type: bearer
      token: '{{env.SAP_COMMERCE_CLOUD_API_KEY}}'
  exposes:
  - type: rest
    namespace: product-content-management-categories-rest
    port: 8080
    description: REST adapter for SAP Commerce Cloud Product Content Management API — Categories. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/catalogs/{catalogid}/{catalogversionid}/categories/{categoryid}
      name: catalogs-catalogid-catalogversionid-categories-categoryid
      description: REST surface for catalogs-catalogId-catalogVersionId-categories-categoryId.
      operations:
      - method: GET
        name: getcategorycontent
        description: SAP Commerce Cloud Get category content
        call: product-content-management-categories.getcategorycontent
        with:
          catalogId: rest.catalogId
          catalogVersionId: rest.catalogVersionId
          categoryId: rest.categoryId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: product-content-management-categories-mcp
    port: 9090
    transport: http
    description: MCP adapter for SAP Commerce Cloud Product Content Management API — Categories. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: sap-commerce-cloud-get-category
      description: SAP Commerce Cloud Get category content
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: product-content-management-categories.getcategorycontent
      with:
        catalogId: tools.catalogId
        catalogVersionId: tools.catalogVersionId
        categoryId: tools.categoryId
      outputParameters:
      - type: object
        mapping: $.