naftiko: 1.0.0-alpha2 info: label: commercetools Import API — ImportContainers description: 'commercetools Import API — ImportContainers. 6 operations. Lead operation: List import containers. Self-contained Naftiko capability covering one Commercetools business surface.' tags: - Commercetools - ImportContainers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COMMERCETOOLS_API_KEY: COMMERCETOOLS_API_KEY capability: consumes: - type: http namespace: import-importcontainers baseUri: https://import.{region}.commercetools.com description: commercetools Import API — ImportContainers business capability. Self-contained, no shared references. resources: - name: projectKey-import-containers path: /{projectKey}/import-containers operations: - name: listimportcontainers method: GET description: List import containers outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createimportcontainer method: POST description: Create an import container outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projectKey-import-containers-importContainerKey path: /{projectKey}/import-containers/{importContainerKey} operations: - name: getimportcontainerbykey method: GET description: Get an import container by key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateimportcontainerbykey method: PUT description: Update an import container by key outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteimportcontainerbykey method: DELETE description: Delete an import container by key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projectKey-import-containers-importContainerKey-import-summary path: /{projectKey}/import-containers/{importContainerKey}/import-summary operations: - name: getimportcontainersummary method: GET description: Get import summary for a container outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.COMMERCETOOLS_API_KEY}}' exposes: - type: rest namespace: import-importcontainers-rest port: 8080 description: REST adapter for commercetools Import API — ImportContainers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{projectkey}/import-containers name: projectkey-import-containers description: REST surface for projectKey-import-containers. operations: - method: GET name: listimportcontainers description: List import containers call: import-importcontainers.listimportcontainers outputParameters: - type: object mapping: $. - method: POST name: createimportcontainer description: Create an import container call: import-importcontainers.createimportcontainer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/{projectkey}/import-containers/{importcontainerkey} name: projectkey-import-containers-importcontainerkey description: REST surface for projectKey-import-containers-importContainerKey. operations: - method: GET name: getimportcontainerbykey description: Get an import container by key call: import-importcontainers.getimportcontainerbykey outputParameters: - type: object mapping: $. - method: PUT name: updateimportcontainerbykey description: Update an import container by key call: import-importcontainers.updateimportcontainerbykey with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteimportcontainerbykey description: Delete an import container by key call: import-importcontainers.deleteimportcontainerbykey outputParameters: - type: object mapping: $. - path: /v1/{projectkey}/import-containers/{importcontainerkey}/import-summary name: projectkey-import-containers-importcontainerkey-import-summary description: REST surface for projectKey-import-containers-importContainerKey-import-summary. operations: - method: GET name: getimportcontainersummary description: Get import summary for a container call: import-importcontainers.getimportcontainersummary outputParameters: - type: object mapping: $. - type: mcp namespace: import-importcontainers-mcp port: 9090 transport: http description: MCP adapter for commercetools Import API — ImportContainers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-import-containers description: List import containers hints: readOnly: true destructive: false idempotent: true call: import-importcontainers.listimportcontainers outputParameters: - type: object mapping: $. - name: create-import-container description: Create an import container hints: readOnly: false destructive: false idempotent: false call: import-importcontainers.createimportcontainer with: body: tools.body outputParameters: - type: object mapping: $. - name: get-import-container-key description: Get an import container by key hints: readOnly: true destructive: false idempotent: true call: import-importcontainers.getimportcontainerbykey outputParameters: - type: object mapping: $. - name: update-import-container-key description: Update an import container by key hints: readOnly: false destructive: false idempotent: true call: import-importcontainers.updateimportcontainerbykey with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-import-container-key description: Delete an import container by key hints: readOnly: false destructive: true idempotent: true call: import-importcontainers.deleteimportcontainerbykey outputParameters: - type: object mapping: $. - name: get-import-summary-container description: Get import summary for a container hints: readOnly: true destructive: false idempotent: true call: import-importcontainers.getimportcontainersummary outputParameters: - type: object mapping: $.