Optimizely · Capability

Optimizely Commerce Service API — Catalog Entry Relations

Optimizely Commerce Service API — Catalog Entry Relations. 2 operations. Lead operation: Get entry node relations. Self-contained Naftiko capability covering one Optimizely business surface.

Run with Naftiko OptimizelyCatalog Entry Relations

What You Can Do

GET
Getentrynoderelations — Get entry node relations
/v1/commerce/entries/{entrycode}/noderelations
PUT
Updateentrynoderelations — Update entry node relations
/v1/commerce/entries/{entrycode}/noderelations

MCP Tools

get-entry-node-relations

Get entry node relations

read-only idempotent
update-entry-node-relations

Update entry node relations

idempotent

Capability Spec

commerce-service-catalog-entry-relations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Optimizely Commerce Service API — Catalog Entry Relations
  description: 'Optimizely Commerce Service API — Catalog Entry Relations. 2 operations. Lead operation: Get entry node relations.
    Self-contained Naftiko capability covering one Optimizely business surface.'
  tags:
  - Optimizely
  - Catalog Entry Relations
  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-catalog-entry-relations
    baseUri: ''
    description: Optimizely Commerce Service API — Catalog Entry Relations business capability. Self-contained, no shared
      references.
    resources:
    - name: commerce-entries-entryCode-noderelations
      path: /commerce/entries/{entryCode}/noderelations
      operations:
      - name: getentrynoderelations
        method: GET
        description: Get entry node relations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateentrynoderelations
        method: PUT
        description: Update entry node relations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.OPTIMIZELY_API_KEY}}'
  exposes:
  - type: rest
    namespace: commerce-service-catalog-entry-relations-rest
    port: 8080
    description: REST adapter for Optimizely Commerce Service API — Catalog Entry Relations. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/commerce/entries/{entrycode}/noderelations
      name: commerce-entries-entrycode-noderelations
      description: REST surface for commerce-entries-entryCode-noderelations.
      operations:
      - method: GET
        name: getentrynoderelations
        description: Get entry node relations
        call: commerce-service-catalog-entry-relations.getentrynoderelations
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateentrynoderelations
        description: Update entry node relations
        call: commerce-service-catalog-entry-relations.updateentrynoderelations
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: commerce-service-catalog-entry-relations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Optimizely Commerce Service API — Catalog Entry Relations. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: get-entry-node-relations
      description: Get entry node relations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commerce-service-catalog-entry-relations.getentrynoderelations
      outputParameters:
      - type: object
        mapping: $.
    - name: update-entry-node-relations
      description: Update entry node relations
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: commerce-service-catalog-entry-relations.updateentrynoderelations
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.