Medusa · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Medusa Returns API
24 actions
24 updates
phrasing
extends
openapi/medusa-returns-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 24 · first 16 shown; the file carries all of them
$.info
$.paths['/admin/returns'].get
$.paths['/admin/returns'].post
$.paths['/admin/returns/{id}'].get
$.paths['/admin/returns/{id}'].post
$.paths['/admin/returns/{id}/cancel'].post
$.paths['/admin/returns/{id}/dismiss-items'].post
$.paths['/admin/returns/{id}/dismiss-items/{action_id}'].post
$.paths['/admin/returns/{id}/dismiss-items/{action_id}'].delete
$.paths['/admin/returns/{id}/receive'].post
$.paths['/admin/returns/{id}/receive'].delete
$.paths['/admin/returns/{id}/receive-items'].post
$.paths['/admin/returns/{id}/receive-items/{action_id}'].post
$.paths['/admin/returns/{id}/receive-items/{action_id}'].delete
$.paths['/admin/returns/{id}/receive/confirm'].post
$.paths['/admin/returns/{id}/request'].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 Returns API
version: 1.0.0
extends: openapi/medusa-returns-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: 23
- target: $.paths['/admin/returns'].get
update:
x-apievangelist-phrasing:
intent: List returns
effect: read
questions:
- Which returns have been requested or received?
- Can I filter returns by order or status?
instructions:
- text: List all returns.
- text: List returns for order {order_id}.
slots:
order_id: query.order_id
- text: Show returns with status {status}.
slots:
status: query.status
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns'].post
update:
x-apievangelist-phrasing:
intent: Create a return for an order
effect: write
questions:
- How do I start a return for an order?
- Can I add a note and a location when creating a return?
instructions:
- text: Create a return for order {order_id}.
slots:
order_id: requestBody.order_id
- text: Create return {order_id} with note {description}.
slots:
order_id: requestBody.order_id
description: requestBody.description
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a return
effect: read
questions:
- What is the status of a specific return?
- Can I look up one return by its ID?
instructions:
- text: Get return {id}.
slots:
id: path.id
- text: Show the status of return {id}.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}'].post
update:
x-apievangelist-phrasing:
intent: Update a return's details
effect: write
questions:
- Can I change the location a return is returned to?
- Is it possible to stop notifications on a return?
instructions:
- text: Set the return {id} location to {location_id}.
slots:
id: path.id
location_id: requestBody.location_id
- text: Update return {id} with metadata {metadata}.
slots:
id: path.id
metadata: requestBody.metadata
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/cancel'].post
update:
x-apievangelist-phrasing:
intent: Cancel a return
effect: destructive
questions:
- How do I cancel a return that hasn't been confirmed yet?
- Can I stop a return without notifying the customer?
instructions:
- text: Cancel return {id}.
slots:
id: path.id
- text: Cancel return {id} without notifying the customer.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/dismiss-items'].post
update:
x-apievangelist-phrasing:
intent: Add damaged items to a return
effect: write
questions:
- How do I record that some returned items arrived damaged?
- Can I add damaged items to a return by their action ID?
instructions:
- text: Add damaged items {items} to return {id}.
slots:
items: requestBody.items
id: path.id
- text: Record damaged items {items} on return {id}.
slots:
items: requestBody.items
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/dismiss-items/{action_id}'].post
update:
x-apievangelist-phrasing:
intent: Update a damaged item on a return
effect: write
questions:
- Can I change the quantity of a damaged item already added to a return?
- Is it possible to add a note to a damaged item on a return?
instructions:
- text: Set the quantity of damaged item {action_id} on return {id} to {quantity}.
slots:
action_id: path.action_id
id: path.id
quantity: requestBody.quantity
- text: Add note {internal_note} to damaged item {action_id} of return {id}.
slots:
internal_note: requestBody.internal_note
action_id: path.action_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/dismiss-items/{action_id}'].delete
update:
x-apievangelist-phrasing:
intent: Remove a damaged item from a return
effect: destructive
questions:
- How do I remove a damaged item from a return?
- Can I delete a damaged item action on a return?
instructions:
- text: Remove damaged item {action_id} from return {id}.
slots:
action_id: path.action_id
id: path.id
- text: Delete the damaged item action {action_id} on return {id}.
slots:
action_id: path.action_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/receive'].post
update:
x-apievangelist-phrasing:
intent: Start receiving a return
effect: write
questions:
- How do I begin the process of receiving a return?
- Can I start return receival with a note?
instructions:
- text: Start receiving return {id}.
slots:
id: path.id
- text: Start receiving return {id} with note {internal_note}.
slots:
id: path.id
internal_note: requestBody.internal_note
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/receive'].delete
update:
x-apievangelist-phrasing:
intent: Cancel a return's receival
effect: destructive
questions:
- How do I cancel a return receival that hasn't been confirmed?
- Can I stop the return receiving process?
instructions:
- text: Cancel the receival of return {id}.
slots:
id: path.id
- text: Stop the receiving process for return {id}.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/receive-items'].post
update:
x-apievangelist-phrasing:
intent: Add received items to a return
effect: write
questions:
- How do I record items that have been received back?
- Can I add received items to a return by their action ID?
instructions:
- text: Add received items {items} to return {id}.
slots:
items: requestBody.items
id: path.id
- text: Record received items {items} on return {id}.
slots:
items: requestBody.items
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/receive-items/{action_id}'].post
update:
x-apievangelist-phrasing:
intent: Update a received item on a return
effect: write
questions:
- Can I change the quantity of a received item on a return?
- Is it possible to add a note to a received item?
instructions:
- text: Set the quantity of received item {action_id} on return {id} to {quantity}.
slots:
action_id: path.action_id
id: path.id
quantity: requestBody.quantity
- text: Add note {internal_note} to received item {action_id} of return {id}.
slots:
internal_note: requestBody.internal_note
action_id: path.action_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/receive-items/{action_id}'].delete
update:
x-apievangelist-phrasing:
intent: Remove a received item from a return
effect: destructive
questions:
- How do I remove a received item from a return?
- Can I delete a received item action on a return?
instructions:
- text: Remove received item {action_id} from return {id}.
slots:
action_id: path.action_id
id: path.id
- text: Delete the received item action {action_id} on return {id}.
slots:
action_id: path.action_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/receive/confirm'].post
update:
x-apievangelist-phrasing:
intent: Confirm a return has been received
effect: write
questions:
- How do I confirm a return has been received?
- Can I notify the customer when a return is confirmed received?
instructions:
- text: Confirm return {id} has been received.
slots:
id: path.id
- text: Confirm return {id} received and notify the customer.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/request'].post
update:
x-apievangelist-phrasing:
intent: Confirm a requested return
effect: write
questions:
- How do I confirm a return that a customer has requested?
- Can I confirm a return request without notifying the customer?
instructions:
- text: Confirm return {id} has been requested.
slots:
id: path.id
- text: Confirm return {id} request without notifying the customer.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/request'].delete
update:
x-apievangelist-phrasing:
intent: Cancel a requested return
effect: destructive
questions:
- How do I cancel a return request that hasn't been confirmed?
- Can I stop a customer's return request?
instructions:
- text: Cancel the return request {id}.
slots:
id: path.id
- text: Stop the customer's return request {id}.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/request-items'].post
update:
x-apievangelist-phrasing:
intent: Request items to be returned
effect: write
questions:
- How do I request specific items to be returned on a return?
- Can I ask for some items on a return without the customer shipping the rest?
instructions:
- text: 'Request these items on return {id}: {items}.'
slots:
id: path.id
items: requestBody.items
- text: Add {items} to return {id} as requested items.
slots:
id: path.id
items: requestBody.items
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/request-items/{action_id}'].post
update:
x-apievangelist-phrasing:
intent: Update a requested item on a return
effect: write
questions:
- Can I change the quantity of an item a customer wants to return?
- Is it possible to add a reason to a requested item?
instructions:
- text: Set the quantity of requested item {action_id} on return {id} to {quantity}.
slots:
action_id: path.action_id
id: path.id
quantity: requestBody.quantity
- text: Add reason {reason_id} to requested item {action_id} of return {id}.
slots:
reason_id: requestBody.reason_id
action_id: path.action_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/request-items/{action_id}'].delete
update:
x-apievangelist-phrasing:
intent: Remove an item from a return request
effect: destructive
questions:
- How do I remove an item from a customer's return request?
- Can I delete a requested item action on a return?
instructions:
- text: Remove requested item {action_id} from return {id}.
slots:
action_id: path.action_id
id: path.id
- text: Delete the requested item action {action_id} on return {id}.
slots:
action_id: path.action_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/shipping-method'].post
update:
x-apievangelist-phrasing:
intent: Add a shipping method to a return
effect: write
questions:
- How do I add a shipping method to a return?
- Can I set a custom amount on a return's shipping method?
instructions:
- text: Add shipping option {shipping_option_id} to return {id}.
slots:
shipping_option_id: requestBody.shipping_option_id
id: path.id
- text: Add shipping option {shipping_option_id} to return {id} with amount {custom_amount}.
slots:
shipping_option_id: requestBody.shipping_option_id
id: path.id
custom_amount: requestBody.custom_amount
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/shipping-method/{action_id}'].post
update:
x-apievangelist-phrasing:
intent: Update a shipping method on a return
effect: write
questions:
- Can I change the shipping method a customer returns an item with?
- Is it possible to set a custom price on a return's shipping method?
instructions:
- text: Update shipping method {action_id} on return {id}.
slots:
action_id: path.action_id
id: path.id
- text: Set custom amount {custom_amount} on shipping method {action_id} of return {id}.
slots:
custom_amount: requestBody.custom_amount
action_id: path.action_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/returns/{id}/shipping-method/{action_id}'].delete
update:
x-apievangelist-phrasing:
intent: Remove a shipping method from a return
effect: destructive
questions:
- Can I remove the shipping method from a return?
- What happens to a return when its shipping method is removed?
instructions:
- text: Remove shipping method {action_id} from return {id}.
slots:
action_id: path.action_id
id: path.id
- text: Delete the shipping method {action_id} on return {id}.
slots:
action_id: path.action_id
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/store/returns'].post
update:
x-apievangelist-phrasing:
intent: Request a return for an order
effect: write
questions:
- Can a guest customer request a return for their order?
- What shipping details do I need to create a return?
instructions:
- text: Create a return for order {order_id} with items {items} and shipping {return_shipping}.
slots:
order_id: requestBody.order_id
items: requestBody.items
return_shipping: requestBody.return_shipping
- text: Request a return for order {order_id} with note {note}.
slots:
order_id: requestBody.order_id
note: requestBody.note
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-returns-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.