Medusa Claims API

An admin creates a claim for an order when a customer reports that an item is defective or incorrect. Using these API routes, admin users manage order claims, their items, and more.

GitHub OpenAPI
Business capability
Post-Purchase AE-140.90

Operations 21

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /admin/claims List claims on an order · List Claims #
Ask an LLM
“Which claims have been filed on a customer's order?”
“Can I filter claims by status or order?”
Tell an agent
List claims for order {order_id}.
Show claims with status {status}.
POST /admin/claims Create a claim on an order · Create a Claim #
Ask an LLM
“How do I open a claim for a defective item on an order?”
“Can I add a reason and note when creating a claim?”
Tell an agent
Create a {type} claim on order {order_id}.
Open a claim on order {order_id} for reason {reason_id}.
GET /admin/claims/{id} Get a claim · Get a Claim #
Ask an LLM
“What are the details of a specific claim?”
“Can I look up one claim by its ID?”
Tell an agent
Get claim {id}.
Show the status and items of claim {id}.
POST /admin/claims/{id}/cancel Cancel a claim and its return · Cancel a Claim #
Ask an LLM
“How do I cancel a claim and its associated return?”
“Can I stop a claim without notifying the customer?”
Tell an agent destructive · confirm first
Cancel claim {id}.
Cancel claim {id} without notifying the customer.
POST /admin/claims/{id}/claim-items Add items to a claim · Add Claim Items to a Claim #
Ask an LLM
“How do I add defective order items to a claim?”
“Will the added claim items be marked as written off?”
Tell an agent
Add items {items} to claim {id}.
Open a claim for order items {items}.
POST /admin/claims/{id}/claim-items/{action_id} Update an item on a claim · Update a Claim Item #
Ask an LLM
“How do I change the quantity of an item on a claim?”
“Can I update the reason on an item already on a claim?”
Tell an agent
Set the quantity of item {action_id} on claim {id} to {quantity}.
Change the reason on item {action_id} of claim {id} to {reason_id}.
DELETE /admin/claims/{id}/claim-items/{action_id} Remove an item from a claim · Remove a Claim Item from a Claim #
Ask an LLM
“How do I remove a defective item from a claim?”
“Can I take an item off a claim by its action ID?”
Tell an agent destructive · confirm first
Remove item {action_id} from claim {id}.
Take item {action_id} off claim {id}.
POST /admin/claims/{id}/inbound/items Add return items to a claim · Add Inbound Items to a Claim #
Ask an LLM
“How do I add returned items to a claim?”
“Can I record the quantity of items a customer is returning?”
Tell an agent
Add return items {items} to claim {id}.
Record {items} as returned on claim {id}.
POST /admin/claims/{id}/inbound/items/{action_id} Update a returned item in a claim · Update Inbound Items of a Claim #
Ask an LLM
“How do I record a returned item's quantity on a claim?”
“Can I attach a return reason to an inbound item?”
Tell an agent
Update return item {action_id} on claim {id} to {quantity} units.
Mark return item {action_id} on claim {id} as returned due to {reason_id}.
DELETE /admin/claims/{id}/inbound/items/{action_id} Remove a return item from a claim · Remove an Inbound Item from Claim #
Ask an LLM
“How do I remove a returned item from a claim?”
“Can I take a return item off a claim by its action ID?”
Tell an agent destructive · confirm first
Remove return item {action_id} from claim {id}.
Take return item {action_id} off claim {id}.
POST /admin/claims/{id}/inbound/shipping-method Add a return shipping method to a claim · Add an Inbound Shipping Method to a Claim #
Ask an LLM
“How do I add a return shipping method to a claim?”
“Can I set a custom price for return shipping on a claim?”
Tell an agent
Add return shipping option {shipping_option_id} to claim {id}.
Set return shipping on claim {id} to {shipping_option_id} at {custom_amount}.
POST /admin/claims/{id}/inbound/shipping-method/{action_id} Update a return shipping method on a claim · Update Inbound Shipping Method of a Claim #
Ask an LLM
“How do I change the return shipping price on a claim?”
“Can I update the note on a return shipping method?”
Tell an agent
Change return shipping {action_id} on claim {id} to {custom_amount}.
Update return shipping {action_id} of claim {id} with note {internal_note}.
DELETE /admin/claims/{id}/inbound/shipping-method/{action_id} Remove a return shipping method from a claim · Remove Inbound Shipping Method from Claim #
Ask an LLM
“How do I remove a return shipping method from a claim?”
“Can I take return shipping off a claim by its action ID?”
Tell an agent destructive · confirm first
Remove return shipping {action_id} from claim {id}.
Take return shipping {action_id} off claim {id}.
POST /admin/claims/{id}/outbound/items Add new items to a claim · Add Outbound Items to a Claim #
Ask an LLM
“How do I add replacement items to a claim?”
“Can I record the quantity of new items a customer gets?”
Tell an agent
Add new items {items} to claim {id}.
Give customer {items} as replacements on claim {id}.
POST /admin/claims/{id}/outbound/items/{action_id} Update a replacement item on a claim · Update Outbound Item of a Claim #
Ask an LLM
“How do I change the quantity of a replacement item?”
“Can I add a reason to a replacement item on a claim?”
Tell an agent
Set the quantity of replacement {action_id} on claim {id} to {quantity}.
Add reason {reason_id} to replacement {action_id} of claim {id}.
DELETE /admin/claims/{id}/outbound/items/{action_id} Remove a replacement item from a claim · Remove an Outbound Item from Claim #
Ask an LLM
“How do I remove a replacement item from a claim?”
“Can I take a replacement off a claim by its action ID?”
Tell an agent destructive · confirm first
Remove replacement {action_id} from claim {id}.
Take replacement {action_id} off claim {id}.
POST /admin/claims/{id}/outbound/shipping-method Add shipping for new items on a claim · Add Outbound Shipping Methods to a Claim #
Ask an LLM
“How do I add shipping for replacement items on a claim?”
“Can I set a custom price for replacement shipping?”
Tell an agent
Add replacement shipping option {shipping_option_id} to claim {id}.
Ship replacements on claim {id} with option {shipping_option_id} at {custom_amount}.
POST /admin/claims/{id}/outbound/shipping-method/{action_id} Update replacement shipping on a claim · Update Outbound Shipping Method of a Claim #
Ask an LLM
“How do I change the shipping price for replacement items?”
“Can I update the note on replacement shipping?”
Tell an agent
Change replacement shipping {action_id} on claim {id} to {custom_amount}.
Update replacement shipping {action_id} of claim {id} with note {internal_note}.
DELETE /admin/claims/{id}/outbound/shipping-method/{action_id} Remove a shipping method from a claim · Remove Outbound Shipping Method from Claim #
Ask an LLM
“Can I remove the delivery method for outbound items on a claim?”
“What do I need to remove a shipping add action from a claim?”
Tell an agent destructive · confirm first
Remove shipping method {action_id} from claim {id}.
Delete outbound delivery {action_id} on claim {id}.
POST /admin/claims/{id}/request Confirm a claim request · Confirm a Claim Request #
Ask an LLM
“How do I confirm a claim and apply its changes to the order?”
“What happens to the order when a claim is confirmed?”
Tell an agent
Confirm claim {id}.
Apply the changes of claim {id} to the order.
DELETE /admin/claims/{id}/request Cancel a claim request · Cancel Claim Request #
Ask an LLM
“How do I cancel a claim request a customer submitted?”
“Can I withdraw a claim request before it's processed?”
Tell an agent destructive · confirm first
Cancel claim request {id}.
Withdraw the claim request {id}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/medusa:medusa-claims-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

medusa-claims-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.19.0
  title: Medusa Admin Claims API
  license:
    name: MIT
    url: https://github.com/medusajs/medusa/blob/develop/LICENSE
  description: 'An admin creates a claim for an order when a customer reports that an item is defective or incorrect.


    Using these API routes, admin users manage order claims, their items, and more.'
servers:
- url: http://localhost:9000
- url: https://api.medusajs.com
tags:


# --- truncated at 32 KB (470 KB total) ---
# Full source: https://artifacts.apis.io/medusa/openapi/medusa-claims-api-openapi.yml