commercetools · Capability

commercetools Import API — Products

commercetools Import API — Products. 1 operations. Lead operation: Import products. Self-contained Naftiko capability covering one Commercetools business surface.

Run with Naftiko CommercetoolsProducts

What You Can Do

POST
Importproducts — Import products
/v1/{projectkey}/products/import-containers/{importcontainerkey}

MCP Tools

import-products

Import products

Capability Spec

import-products.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: commercetools Import API — Products
  description: 'commercetools Import API — Products. 1 operations. Lead operation: Import products. Self-contained Naftiko
    capability covering one Commercetools business surface.'
  tags:
  - Commercetools
  - Products
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COMMERCETOOLS_API_KEY: COMMERCETOOLS_API_KEY
capability:
  consumes:
  - type: http
    namespace: import-products
    baseUri: https://import.{region}.commercetools.com
    description: commercetools Import API — Products business capability. Self-contained, no shared references.
    resources:
    - name: projectKey-products-import-containers-importContainerKey
      path: /{projectKey}/products/import-containers/{importContainerKey}
      operations:
      - name: importproducts
        method: POST
        description: Import products
        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.COMMERCETOOLS_API_KEY}}'
  exposes:
  - type: rest
    namespace: import-products-rest
    port: 8080
    description: REST adapter for commercetools Import API — Products. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/{projectkey}/products/import-containers/{importcontainerkey}
      name: projectkey-products-import-containers-importcontainerkey
      description: REST surface for projectKey-products-import-containers-importContainerKey.
      operations:
      - method: POST
        name: importproducts
        description: Import products
        call: import-products.importproducts
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: import-products-mcp
    port: 9090
    transport: http
    description: MCP adapter for commercetools Import API — Products. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: import-products
      description: Import products
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: import-products.importproducts
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.