commercetools · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for commercetools HTTP Carts API

6 actions 6 updates phrasing extends openapi/commercetools-carts-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 6

$.info
$.paths['/{projectKey}/carts'].get
$.paths['/{projectKey}/carts'].post
$.paths['/{projectKey}/carts/{id}'].get
$.paths['/{projectKey}/carts/{id}'].post
$.paths['/{projectKey}/carts/{id}'].delete

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 HTTP Carts API
  version: 1.0.0
extends: openapi/commercetools-carts-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: 5
- target: $.paths['/{projectKey}/carts'].get
  update:
    x-apievangelist-phrasing:
      intent: List shopping carts
      effect: read
      questions:
      - Which shopping carts exist in my project?
      - Can I filter carts by customer email or store?
      instructions:
      - text: List all carts in project {projectKey}.
        slots:
          projectKey: path.projectKey
      - text: Show carts in {projectKey} matching {where}.
        slots:
          projectKey: path.projectKey
          where: query.where
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{projectKey}/carts'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a shopping cart
      effect: write
      questions:
      - How do I start a new shopping cart for a customer?
      - Can I set the currency and tax mode on a new cart?
      instructions:
      - text: Create a cart in {projectKey} with currency {currency}.
        slots:
          projectKey: path.projectKey
          currency: requestBody.currency
      - text: Create a cart for customer {customerId} in {projectKey} using currency {currency}.
        slots:
          customerId: requestBody.customerId
          projectKey: path.projectKey
          currency: requestBody.currency
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{projectKey}/carts/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a shopping cart
      effect: read
      questions:
      - What line items and discounts are on a specific cart?
      - Can I expand a cart's shipping methods and tax calculations?
      instructions:
      - text: Get cart {id} in project {projectKey}.
        slots:
          id: path.id
          projectKey: path.projectKey
      - text: Show cart {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}/carts/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a cart with changes
      effect: write
      questions:
      - How do I add a product to an existing cart?
      - Can I set a shipping address on a cart with update actions?
      instructions:
      - text: Update cart {id} in {projectKey} with actions {actions}.
        slots:
          id: path.id
          projectKey: path.projectKey
          actions: requestBody.actions
      - text: Apply {actions} to cart {id} in project {projectKey}.
        slots:
          actions: requestBody.actions
          id: path.id
          projectKey: path.projectKey
      method: generated
      generated: '2026-11-22'
- target: $.paths['/{projectKey}/carts/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a shopping cart
      effect: destructive
      questions:
      - How do I permanently delete a shopping cart?
      - Why can't I delete a cart that has already been ordered?
      instructions:
      - text: Delete cart {id} in {projectKey} at version {version}.
        slots:
          id: path.id
          projectKey: path.projectKey
          version: query.version
      - text: Permanently remove shopping cart {id} from {projectKey}.
        slots:
          id: path.id
          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-carts-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.