commercetools · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Commercetools Orders API
7 actions
7 updates
phrasing
extends
openapi/commercetools-orders-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.
What the actions change
x-apievangelist-phrasing
Targets 7
$.info
$.paths['/{projectKey}/orders'].get
$.paths['/{projectKey}/orders'].post
$.paths['/{projectKey}/orders/{id}'].get
$.paths['/{projectKey}/orders/{id}'].post
$.paths['/{projectKey}/orders/{id}'].delete
$.paths['/{projectKey}/orders/import-containers/{importContainerKey}'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Commercetools Orders API
version: 1.0.0
extends: openapi/commercetools-orders-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}/orders'].get
update:
x-apievangelist-phrasing:
intent: List orders in a project
effect: read
questions:
- Which orders have been placed in my project?
- Can I filter orders by customer email or payment state?
instructions:
- text: List all orders in project {projectKey}.
slots:
projectKey: path.projectKey
- text: Show orders in {projectKey} matching {where}.
slots:
projectKey: path.projectKey
where: query.where
method: generated
generated: '2026-11-22'
- target: $.paths['/{projectKey}/orders'].post
update:
x-apievangelist-phrasing:
intent: Convert a cart to an order
effect: write
questions:
- How do I turn a customer's cart into an order after checkout?
- Can I set an order number and initial payment state when creating an order from a cart?
instructions:
- text: Create an order from cart {cart} in {projectKey} at version {version}.
slots:
cart: requestBody.cart
projectKey: path.projectKey
version: requestBody.version
- text: Convert cart {cart} in {projectKey} to an order with number {orderNumber} and payment state {paymentState}.
slots:
cart: requestBody.cart
projectKey: path.projectKey
orderNumber: requestBody.orderNumber
paymentState: requestBody.paymentState
method: generated
generated: '2026-11-22'
- target: $.paths['/{projectKey}/orders/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get an order by ID
effect: read
questions:
- What are the line items, deliveries and payments on a specific order?
- Can I expand related resources when fetching an order?
instructions:
- text: Get order {id} in project {projectKey}.
slots:
id: path.id
projectKey: path.projectKey
- text: Show order {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}/orders/{id}'].post
update:
x-apievangelist-phrasing:
intent: Update an order
effect: write
questions:
- How do I change an order's state or add a delivery?
- Can I set tracking data on an order after it ships?
instructions:
- text: Apply actions {actions} to order {id} in {projectKey} at version {version}.
slots:
actions: requestBody.actions
id: path.id
projectKey: path.projectKey
version: requestBody.version
- text: Change the state of order {id} in {projectKey} using {actions}.
slots:
id: path.id
projectKey: path.projectKey
actions: requestBody.actions
method: generated
generated: '2026-11-22'
- target: $.paths['/{projectKey}/orders/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete an order
effect: destructive
questions:
- Can I permanently delete an order that hasn't been shipped or paid?
- What happens to an order when it is deleted?
instructions:
- text: Delete order {id} in {projectKey} at version {version}.
slots:
id: path.id
projectKey: path.projectKey
version: query.version
- text: Permanently remove order {id} from {projectKey}.
slots:
id: path.id
projectKey: path.projectKey
method: generated
generated: '2026-11-22'
- target: $.paths['/{projectKey}/orders/import-containers/{importContainerKey}'].post
update:
x-apievangelist-phrasing:
intent: Import orders in bulk
effect: write
questions:
- How do I import orders that bypassed the checkout flow?
- Can I submit up to 20 orders in one import container?
instructions:
- text: Import orders {resources} into container {container} in {projectKey}.
slots:
resources: requestBody.resources
container: path.importContainerKey
projectKey: path.projectKey
- text: Submit {resources} as an order import batch for {container} in {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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/commercetools-orders-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.