commercetools · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Commercetools Products API

7 actions 7 updates phrasing extends openapi/commercetools-products-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for commercetools's API. It is a proposal applied on top of the contract, not a document commercetools publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/{projectKey}/products'].get
$.paths['/{projectKey}/products'].post
$.paths['/{projectKey}/products/{id}'].get
$.paths['/{projectKey}/products/{id}'].post
$.paths['/{projectKey}/products/{id}'].delete
$.paths['/{projectKey}/products/import-containers/{importContainerKey}'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Commercetools Products API
  version: 1.0.0
extends: openapi/commercetools-products-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/{projectKey}/products'].get
  update:
    x-apievangelist-phrasing:
      intent: List products in a project
      effect: read
      questions:
      - Which products exist in my commercetools project?
      - Can I filter and sort the product catalog?
      instructions:
      - text: List all products in project {projectKey}.
        slots:
          projectKey: path.projectKey
      - text: Show products in {projectKey} matching {where}, sorted by {sort}.
        slots:
          projectKey: path.projectKey
          where: query.where
          sort: query.sort
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{projectKey}/products'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a product
      effect: write
      questions:
      - How do I add a new product to my catalog?
      - Can I publish a product right after creating it?
      instructions:
      - text: Create a product named {name} with slug {slug} in {projectKey}.
        slots:
          name: requestBody.name
          slug: requestBody.slug
          projectKey: path.projectKey
      - text: Add product {name} keyed {key} to {projectKey} and publish it ({publish}).
        slots:
          name: requestBody.name
          key: requestBody.key
          projectKey: path.projectKey
          publish: requestBody.publish
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{projectKey}/products/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a product by ID
      effect: read
      questions:
      - What is in a product's staged and published versions?
      - Can I expand a product's categories when fetching it?
      instructions:
      - text: Get product {id} in {projectKey}.
        slots:
          id: path.id
          projectKey: path.projectKey
      - text: Show product {id} in {projectKey} with {expand} expanded.
        slots:
          id: path.id
          projectKey: path.projectKey
          expand: query.expand
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{projectKey}/products/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a product by ID
      effect: write
      questions:
      - How do I change a product's name or attributes?
      - Can I add variants to an existing product?
      instructions:
      - text: Apply actions {actions} to product {id} in {projectKey} at version {version}.
        slots:
          actions: requestBody.actions
          id: path.id
          projectKey: path.projectKey
          version: requestBody.version
      - text: Change the name of product {id} in {projectKey} to {actions}.
        slots:
          id: path.id
          projectKey: path.projectKey
          actions: requestBody.actions
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{projectKey}/products/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a product by ID
      effect: destructive
      questions:
      - How do I permanently remove a product?
      - Is deleting a product reversible?
      instructions:
      - text: Delete product {id} in {projectKey} at version {version}.
        slots:
          id: path.id
          projectKey: path.projectKey
          version: query.version
      - text: Remove product {id} from {projectKey} for good.
        slots:
          id: path.id
          projectKey: path.projectKey
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{projectKey}/products/import-containers/{importContainerKey}'].post
  update:
    x-apievangelist-phrasing:
      intent: Import products into a container
      effect: write
      questions:
      - How do I bulk import products into a container?
      - Can I upsert products by key in an import container?
      instructions:
      - text: Import {resources} into container {container} of {projectKey}.
        slots:
          resources: requestBody.resources
          container: path.importContainerKey
          projectKey: path.projectKey
      - text: Upsert products {resources} into container {container} for {projectKey}.
        slots:
          resources: requestBody.resources
          container: path.importContainerKey
          projectKey: path.projectKey
      method: generated
      generated: '2026-11-22'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/commercetools-products-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.