Medusa · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Medusa Admin Draft Orders API
22 actions
22 updates
phrasing
extends
openapi/medusa-draft-orders-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Medusa's API. It is a proposal applied on top of the contract, not a document Medusa publishes.
What the actions change
x-apievangelist-phrasing
Targets 22 · first 16 shown; the file carries all of them
$.info
$.paths['/admin/draft-orders'].get
$.paths['/admin/draft-orders'].post
$.paths['/admin/draft-orders/{id}'].get
$.paths['/admin/draft-orders/{id}'].post
$.paths['/admin/draft-orders/{id}'].delete
$.paths['/admin/draft-orders/{id}/convert-to-order'].post
$.paths['/admin/draft-orders/{id}/edit'].post
$.paths['/admin/draft-orders/{id}/edit'].delete
$.paths['/admin/draft-orders/{id}/edit/confirm'].post
$.paths['/admin/draft-orders/{id}/edit/items'].post
$.paths['/admin/draft-orders/{id}/edit/items/item/{item_id}'].post
$.paths['/admin/draft-orders/{id}/edit/items/{action_id}'].post
$.paths['/admin/draft-orders/{id}/edit/items/{action_id}'].delete
$.paths['/admin/draft-orders/{id}/edit/promotions'].post
$.paths['/admin/draft-orders/{id}/edit/promotions'].delete
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 Medusa Admin Draft Orders API
version: 1.0.0
extends: openapi/medusa-draft-orders-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-26'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 21
- target: $.paths['/admin/draft-orders'].get
update:
x-apievangelist-phrasing:
intent: List draft orders
effect: read
questions:
- Which draft orders have I created for a particular customer?
- Can I filter draft orders by region or sales channel?
instructions:
- text: List draft orders for customer {customer_id}.
slots:
customer_id: query.customer_id
- text: Show draft orders in region {region_id}.
slots:
region_id: query.region_id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders'].post
update:
x-apievangelist-phrasing:
intent: Create a draft order
effect: write
questions:
- How do I create a draft order for a customer who placed an order offline?
- What do I need to include when creating a draft order, like items and shipping?
instructions:
- text: Create a draft order for customer {customer_id} at {email} on sales channel {sales_channel_id} in {currency_code} with shipping methods {shipping_methods}.
slots:
customer_id: requestBody.customer_id
email: requestBody.email
sales_channel_id: requestBody.sales_channel_id
currency_code: requestBody.currency_code
shipping_methods: requestBody.shipping_methods
- text: Add items {items} to a new draft order for {email} in {currency_code}.
slots:
items: requestBody.items
email: requestBody.email
currency_code: requestBody.currency_code
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a draft order
effect: read
questions:
- What items and totals are on a draft order?
- Can I look up one draft order by its ID?
instructions:
- text: Get draft order {id}.
slots:
id: path.id
- text: Show the items on draft order {id}.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}'].post
update:
x-apievangelist-phrasing:
intent: Update a draft order
effect: write
questions:
- Can I change the billing or shipping address on a draft order?
- Is it possible to update the customer email on a draft order?
instructions:
- text: Change the shipping address on draft order {id} to {shipping_address}.
slots:
id: path.id
shipping_address: requestBody.shipping_address
- text: Update the customer email on draft order {id} to {email}.
slots:
id: path.id
email: requestBody.email
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a draft order
effect: destructive
questions:
- How do I delete a draft order I no longer need?
- Can I remove a draft order by its ID?
instructions:
- text: Delete draft order {id}.
slots:
id: path.id
- text: Remove the draft order {id} from my store.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/convert-to-order'].post
update:
x-apievangelist-phrasing:
intent: Convert a draft order to an order
effect: write
questions:
- How do I turn a draft order into a real order?
- What finalizes a draft order and creates an order?
instructions:
- text: Convert draft order {id} into an order.
slots:
id: path.id
- text: Finalize draft order {id} and create an order.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit'].post
update:
x-apievangelist-phrasing:
intent: Start an edit on a draft order
effect: write
questions:
- How do I begin changing the items or shipping on a draft order?
- Can I create an edit on a draft order before finalizing it?
instructions:
- text: Create an edit on draft order {id}.
slots:
id: path.id
- text: Start changing the items on draft order {id}.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit'].delete
update:
x-apievangelist-phrasing:
intent: Cancel an unconfirmed draft order edit
effect: destructive
questions:
- How do I cancel a draft order edit that hasn't been confirmed yet?
- Can I discard changes made to a draft order before it's finalized?
instructions:
- text: Cancel the unconfirmed edit on draft order {id}.
slots:
id: path.id
- text: Discard the changes I made to draft order {id}.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/confirm'].post
update:
x-apievangelist-phrasing:
intent: Confirm a draft order edit
effect: write
questions:
- How do I apply the changes made in a draft order edit?
- What finalizes an edit on a draft order?
instructions:
- text: Confirm the edit on draft order {id}.
slots:
id: path.id
- text: Apply the changes made to draft order {id}.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/items'].post
update:
x-apievangelist-phrasing:
intent: Add items to a draft order edit
effect: write
questions:
- How do I add a new product to a draft order I'm editing?
- Can I add several items to a draft order edit at once?
instructions:
- text: Add items {items} to the edit on draft order {id}.
slots:
items: requestBody.items
id: path.id
- text: Insert new products into draft order {id}.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/items/item/{item_id}'].post
update:
x-apievangelist-phrasing:
intent: Update an existing item in a draft order edit
effect: write
questions:
- How do I change the quantity of an item already on a draft order edit?
- Can I adjust the price of an existing item in a draft order edit?
instructions:
- text: Set the quantity of item {item_id} in draft order {id} edit to {quantity}.
slots:
item_id: path.item_id
id: path.id
quantity: requestBody.quantity
- text: Change item {item_id} on draft order {id} to {quantity} at {unit_price}.
slots:
item_id: path.item_id
id: path.id
quantity: requestBody.quantity
unit_price: requestBody.unit_price
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/items/{action_id}'].post
update:
x-apievangelist-phrasing:
intent: Update a new item added to a draft order edit
effect: write
questions:
- How do I edit a product I just added to a draft order edit?
- Can I change the price of a new item in a draft order edit?
instructions:
- text: Update new item {action_id} on draft order {id} edit to {quantity} at {unit_price}.
slots:
action_id: path.action_id
id: path.id
quantity: requestBody.quantity
unit_price: requestBody.unit_price
- text: Change the quantity of item {action_id} in draft order {id} edit.
slots:
action_id: path.action_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/items/{action_id}'].delete
update:
x-apievangelist-phrasing:
intent: Remove an item from a draft order edit
effect: destructive
questions:
- How do I remove a product from a draft order edit?
- Can I delete an item I added to a draft order edit?
instructions:
- text: Remove item {action_id} from the edit on draft order {id}.
slots:
action_id: path.action_id
id: path.id
- text: Delete the product added as action {action_id} on draft order {id}.
slots:
action_id: path.action_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/promotions'].post
update:
x-apievangelist-phrasing:
intent: Add promotions to a draft order edit
effect: write
questions:
- How do I apply promo codes to a draft order I'm editing?
- Can I add several promotions to a draft order edit at once?
instructions:
- text: Add promo codes {promo_codes} to the edit on draft order {id}.
slots:
promo_codes: requestBody.promo_codes
id: path.id
- text: Apply promotions {promo_codes} to draft order {id}.
slots:
promo_codes: requestBody.promo_codes
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/promotions'].delete
update:
x-apievangelist-phrasing:
intent: Remove promotions from a draft order edit
effect: destructive
questions:
- How do I take a promo code off a draft order I'm editing?
- Can I remove several promotions from a draft order edit?
instructions:
- text: Remove promo codes {promo_codes} from the edit on draft order {id}.
slots:
promo_codes: requestBody.promo_codes
id: path.id
- text: Take off promotions {promo_codes} from draft order {id}.
slots:
promo_codes: requestBody.promo_codes
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/request'].post
update:
x-apievangelist-phrasing:
intent: Request changes to a draft order
effect: write
questions:
- How do I send a draft order edit back to the customer for confirmation?
- Can I request changes to a draft order before finalizing it?
instructions:
- text: Request the changes on draft order {id}.
slots:
id: path.id
- text: Send draft order {id} back to the customer for confirmation.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/shipping-methods'].post
update:
x-apievangelist-phrasing:
intent: Add a shipping method to a draft order edit
effect: write
questions:
- How do I add a new shipping method to a draft order I'm editing?
- Can I charge a custom amount for a shipping method on a draft order edit?
instructions:
- text: Add shipping option {shipping_option_id} to draft order {id} edit.
slots:
shipping_option_id: requestBody.shipping_option_id
id: path.id
- text: Add a custom shipping method to draft order {id} edit with amount {custom_amount}.
slots:
id: path.id
custom_amount: requestBody.custom_amount
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/shipping-methods/method/{method_id}'].post
update:
x-apievangelist-phrasing:
intent: Update an existing shipping method in a draft order edit
effect: write
questions:
- How do I change the shipping option on a shipping method already on a draft order edit?
- Can I adjust the amount of an existing shipping method on a draft order edit?
instructions:
- text: Change shipping method {method_id} on draft order {id} edit to option {shipping_option_id}.
slots:
method_id: path.method_id
id: path.id
shipping_option_id: requestBody.shipping_option_id
- text: Set the amount of shipping method {method_id} on draft order {id} edit to {custom_amount}.
slots:
method_id: path.method_id
id: path.id
custom_amount: requestBody.custom_amount
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/shipping-methods/method/{method_id}'].delete
update:
x-apievangelist-phrasing:
intent: Remove a shipping method from a draft order edit
effect: destructive
questions:
- How do I remove a shipping method from a draft order edit?
- Can I delete an existing shipping method on a draft order edit?
instructions:
- text: Remove shipping method {method_id} from the edit on draft order {id}.
slots:
method_id: path.method_id
id: path.id
- text: Delete the shipping method {method_id} on draft order {id}.
slots:
method_id: path.method_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/shipping-methods/{action_id}'].post
update:
x-apievangelist-phrasing:
intent: Update a new shipping method added to a draft order edit
effect: write
questions:
- How do I edit a shipping method I just added to a draft order edit?
- Can I change the shipping option on a new shipping method in a draft order edit?
instructions:
- text: Update new shipping method {action_id} on draft order {id} edit to option {shipping_option_id}.
slots:
action_id: path.action_id
id: path.id
shipping_option_id: requestBody.shipping_option_id
- text: Change the amount of new shipping method {action_id} on draft order {id} edit to {custom_amount}.
slots:
action_id: path.action_id
id: path.id
custom_amount: requestBody.custom_amount
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/draft-orders/{id}/edit/shipping-methods/{action_id}'].delete
update:
x-apievangelist-phrasing:
intent: Remove a shipping method added to a draft order edit
effect: destructive
questions:
- How do I take a new shipping method off a draft order I'm editing?
- Can I remove a shipping method add action from a draft order edit?
instructions:
- text: Remove shipping method action {action_id} from draft order {id}.
slots:
action_id: path.action_id
id: path.id
- text: Delete the new shipping method edit {action_id} on draft order {id}.
slots:
action_id: path.action_id
id: path.id
method: generated
generated: '2026-11-26'
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/medusa-draft-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.