Medusa · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Medusa Storefront Carts API
16 actions
16 updates
phrasing
extends
openapi/medusa-carts-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 16
$.info
$.paths['/store/carts'].post
$.paths['/store/carts/{id}'].get
$.paths['/store/carts/{id}'].post
$.paths['/store/carts/{id}/complete'].post
$.paths['/store/carts/{id}/customer'].post
$.paths['/store/carts/{id}/gift-cards'].post
$.paths['/store/carts/{id}/gift-cards'].delete
$.paths['/store/carts/{id}/line-items'].post
$.paths['/store/carts/{id}/line-items/{line_id}'].post
$.paths['/store/carts/{id}/line-items/{line_id}'].delete
$.paths['/store/carts/{id}/promotions'].post
$.paths['/store/carts/{id}/promotions'].delete
$.paths['/store/carts/{id}/shipping-methods'].post
$.paths['/store/carts/{id}/store-credits'].post
$.paths['/store/carts/{id}/taxes'].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 Medusa Storefront Carts API
version: 1.0.0
extends: openapi/medusa-carts-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: 15
- target: $.paths['/store/carts'].post
update:
x-apievangelist-phrasing:
intent: Create a cart
effect: write
questions:
- How do I start a new shopping cart for a guest?
- Can I set a region and currency on a new cart?
instructions:
- text: Create a cart in region {region_id}.
slots:
region_id: requestBody.region_id
- text: Create a cart for {email} with items {items}.
slots:
email: requestBody.email
items: requestBody.items
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a cart
effect: read
questions:
- What items and totals are in a cart?
- Can I fetch a cart by its ID?
instructions:
- text: Get cart {id}.
slots:
id: path.id
- text: Show the items and totals in cart {id}.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}'].post
update:
x-apievangelist-phrasing:
intent: Update a cart
effect: write
questions:
- How do I change a cart's shipping address?
- Does updating a cart reset its chosen payment method?
instructions:
- text: Update cart {id} to shipping address {shipping_address}.
slots:
id: path.id
shipping_address: requestBody.shipping_address
- text: Set the currency on cart {id} to {currency_code}.
slots:
id: path.id
currency_code: requestBody.currency_code
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}/complete'].post
update:
x-apievangelist-phrasing:
intent: Complete a cart and place an order
effect: write
questions:
- How do I turn a cart into an order?
- Can I complete a cart and place the order right away?
instructions:
- text: Complete cart {id} and place the order.
slots:
id: path.id
- text: Place an order from cart {id}.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}/customer'].post
update:
x-apievangelist-phrasing:
intent: Log in a guest cart to a customer
effect: write
questions:
- How do I attach a guest cart to a logged-in customer?
- Can a logged-in user claim a guest cart?
instructions:
- text: Change cart {id} to the logged-in customer.
slots:
id: path.id
- text: Log in the guest cart {id} to the customer.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}/gift-cards'].post
update:
x-apievangelist-phrasing:
intent: Add a gift card to a cart
effect: write
questions:
- How do I apply a gift card code to a cart?
- Can I add a gift card to a cart?
instructions:
- text: Add gift card {code} to cart {id}.
slots:
code: requestBody.code
id: path.id
- text: Apply gift card code {code} to cart {id}.
slots:
code: requestBody.code
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}/gift-cards'].delete
update:
x-apievangelist-phrasing:
intent: Remove a gift card from a cart
effect: destructive
questions:
- How do I remove a gift card from a cart?
- Can I take a gift card off a cart?
instructions:
- text: Remove gift card {code} from cart {id}.
slots:
code: requestBody.code
id: path.id
- text: Take gift card {code} off cart {id}.
slots:
code: requestBody.code
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}/line-items'].post
update:
x-apievangelist-phrasing:
intent: Add a product to a cart
effect: write
questions:
- How do I add a product variant to a cart?
- Can I add several units of an item to a cart?
instructions:
- text: Add {quantity} of variant {variant_id} to cart {id}.
slots:
quantity: requestBody.quantity
variant_id: requestBody.variant_id
id: path.id
- text: Put {quantity} units of {variant_id} in cart {id}.
slots:
quantity: requestBody.quantity
variant_id: requestBody.variant_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}/line-items/{line_id}'].post
update:
x-apievangelist-phrasing:
intent: Update a cart item
effect: write
questions:
- How do I change the quantity of an item in a cart?
- Can I edit a line item in a cart?
instructions:
- text: Set line item {line_id} in cart {id} to {quantity} units.
slots:
line_id: path.line_id
id: path.id
quantity: requestBody.quantity
- text: Change the quantity of item {line_id} in cart {id} to {quantity}.
slots:
line_id: path.line_id
id: path.id
quantity: requestBody.quantity
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}/line-items/{line_id}'].delete
update:
x-apievangelist-phrasing:
intent: Remove an item from a cart
effect: destructive
questions:
- How do I remove an item from a cart?
- Can I delete a line item from a cart?
instructions:
- text: Remove line item {line_id} from cart {id}.
slots:
line_id: path.line_id
id: path.id
- text: Delete item {line_id} from cart {id}.
slots:
line_id: path.line_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}/promotions'].post
update:
x-apievangelist-phrasing:
intent: Add promotions to a cart
effect: write
questions:
- How do I apply a promo code to a cart?
- Can I add several promotions to a cart at once?
instructions:
- text: Add promo codes {promo_codes} to cart {id}.
slots:
promo_codes: requestBody.promo_codes
id: path.id
- text: Apply promotions {promo_codes} to cart {id}.
slots:
promo_codes: requestBody.promo_codes
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}/promotions'].delete
update:
x-apievangelist-phrasing:
intent: Remove promotions from a cart
effect: destructive
questions:
- How do I remove a promo code from a cart?
- Can I take a promotion off a cart?
instructions:
- text: Remove promo code {promo_codes} from cart {id}.
slots:
promo_codes: requestBody.promo_codes
id: path.id
- text: Take promotion {promo_codes} off cart {id}.
slots:
promo_codes: requestBody.promo_codes
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}/shipping-methods'].post
update:
x-apievangelist-phrasing:
intent: Add a shipping method to a cart
effect: write
questions:
- How do I choose a shipping option for a cart?
- Can I add a calculated shipping price to a cart?
instructions:
- text: Add a shipping method to cart {id}.
slots:
id: path.id
- text: Set the shipping option on cart {id}.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}/store-credits'].post
update:
x-apievangelist-phrasing:
intent: Add store credit to a cart
effect: write
questions:
- How do I apply store credit to a cart?
- Can I add a specific amount of store credit to a cart?
instructions:
- text: Add {amount} store credit to cart {id}.
slots:
amount: requestBody.amount
id: path.id
- text: Apply {amount} store credit to cart {id}.
slots:
amount: requestBody.amount
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/store/carts/{id}/taxes'].post
update:
x-apievangelist-phrasing:
intent: Recalculate a cart's taxes
effect: write
questions:
- How do I force a cart to recalculate its taxes?
- Does a cart recalculate taxes automatically?
instructions:
- text: Recalculate the taxes on cart {id}.
slots:
id: path.id
- text: Force a fresh tax calculation for cart {id}.
slots:
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-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.