commercetools · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Commercetools Categories API

7 actions 7 updates phrasing extends openapi/commercetools-categories-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}/categories'].get
$.paths['/{projectKey}/categories'].post
$.paths['/{projectKey}/categories/{id}'].get
$.paths['/{projectKey}/categories/{id}'].post
$.paths['/{projectKey}/categories/{id}'].delete
$.paths['/{projectKey}/categories/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 Categories API
  version: 1.0.0
extends: openapi/commercetools-categories-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}/categories'].get
  update:
    x-apievangelist-phrasing:
      intent: List categories in a project
      effect: read
      questions:
      - What categories exist in my commercetools project?
      - Can I filter and sort the category list?
      instructions:
      - text: List all categories in project {projectKey}.
        slots:
          projectKey: path.projectKey
      - text: Show categories matching {where} in {projectKey}, sorted by {sort}.
        slots:
          where: query.where
          projectKey: path.projectKey
          sort: query.sort
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{projectKey}/categories'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a category
      effect: write
      questions:
      - How do I create a category with a parent?
      - Can I set a slug and order hint when creating a category?
      instructions:
      - text: Create a category named {name} with slug {slug} in {projectKey}.
        slots:
          name: requestBody.name
          slug: requestBody.slug
          projectKey: path.projectKey
      - text: Add category {name} with slug {slug} under parent {parent} in {projectKey}.
        slots:
          name: requestBody.name
          slug: requestBody.slug
          parent: requestBody.parent
          projectKey: path.projectKey
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{projectKey}/categories/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a category by ID
      effect: read
      questions:
      - How do I see a category's ancestors?
      - Can I expand a category's parent reference?
      instructions:
      - text: Get category {id} in {projectKey}.
        slots:
          id: path.id
          projectKey: path.projectKey
      - text: Show category {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}/categories/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a category
      effect: write
      questions:
      - How do I rename a product category or change its parent?
      - Can I fix the order hint of a category?
      instructions:
      - text: Update category {id} in project {projectKey} with actions {actions}.
        slots:
          id: path.id
          projectKey: path.projectKey
          actions: requestBody.actions
      - text: Change the parent and name of category {id} to {actions}.
        slots:
          id: path.id
          actions: requestBody.actions
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{projectKey}/categories/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a category
      effect: destructive
      questions:
      - How do I permanently delete a category?
      - Why can't I delete a category that has children?
      instructions:
      - text: Delete category {id} in {projectKey} at version {version}.
        slots:
          id: path.id
          projectKey: path.projectKey
          version: query.version
      - text: Permanently remove category {id} from {projectKey}.
        slots:
          id: path.id
          projectKey: path.projectKey
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{projectKey}/categories/import-containers/{importContainerKey}'].post
  update:
    x-apievangelist-phrasing:
      intent: Import categories in bulk
      effect: write
      questions:
      - How do I upsert categories from a batch import?
      - Are parent references resolved after all categories in an import are processed?
      instructions:
      - text: Import categories {resources} into container {container} in {projectKey}.
        slots:
          resources: requestBody.resources
          container: path.importContainerKey
          projectKey: path.projectKey
      - text: Upsert categories {resources} into {projectKey} using import container {container}.
        slots:
          resources: requestBody.resources
          projectKey: path.projectKey
          container: path.importContainerKey
      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-categories-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.