Coveo · Capability

Coveo Commerce API — Setup

Coveo Commerce API — Setup. 1 operations. Lead operation: Create CMH Scaffolding. Self-contained Naftiko capability covering one Coveo business surface.

Run with Naftiko CoveoCommerceSetup

What You Can Do

POST
Setup — Create CMH Scaffolding
/v1/organizations/{organizationid}/commerce/v2/setup

MCP Tools

create-cmh-scaffolding

Create CMH Scaffolding

Capability Spec

commerce-setup.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Coveo Commerce API — Setup
  description: 'Coveo Commerce API — Setup. 1 operations. Lead operation: Create CMH Scaffolding. Self-contained Naftiko capability
    covering one Coveo business surface.'
  tags:
  - Coveo
  - Commerce
  - Setup
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COVEO_SEARCH_TOKEN: COVEO_SEARCH_TOKEN
capability:
  consumes:
  - type: http
    namespace: commerce-setup
    baseUri: https://platform.cloud.coveo.com
    description: Coveo Commerce API — Setup business capability. Self-contained, no shared references.
    authentication:
      type: bearer
      token: '{{env.COVEO_SEARCH_TOKEN}}'
    resources:
    - name: rest-organizations-organizationId-commerce-v2-setup
      path: /rest/organizations/{organizationId}/commerce/v2/setup
      operations:
      - name: setup
        method: POST
        description: Create CMH Scaffolding
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:**
            `acmecorporation8tp8wu3`
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: commerce-setup-rest
    port: 8080
    description: REST adapter for Coveo Commerce API — Setup. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/organizations/{organizationid}/commerce/v2/setup
      name: rest-organizations-organizationid-commerce-v2-setup
      description: REST surface for rest-organizations-organizationId-commerce-v2-setup.
      operations:
      - method: POST
        name: setup
        description: Create CMH Scaffolding
        call: commerce-setup.setup
        with:
          organizationId: rest.organizationId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: commerce-setup-mcp
    port: 9090
    transport: http
    description: MCP adapter for Coveo Commerce API — Setup. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: create-cmh-scaffolding
      description: Create CMH Scaffolding
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: commerce-setup.setup
      with:
        organizationId: tools.organizationId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.