Medusa Order Edits API

An order edit is a change to an order's details, such as items, shipping methods, and more. Changes made by an order edit are only applied on the order once they're confirmed. The order's previous version is retained due to versioning. These API routes allow admin users to make edits to an order and manage those edits.

Operations 11

POST /admin/order-edits Create Order Edit #
DELETE /admin/order-edits/{id} Cancel Order Edit #
POST /admin/order-edits/{id}/confirm Confirm Order Edit #
POST /admin/order-edits/{id}/items Add Items to Order Edit #
POST /admin/order-edits/{id}/items/item/{item_id} Update Order Item Quantity of Order Edit #
POST /admin/order-edits/{id}/items/{action_id} Update an Item in an Order Edit #
DELETE /admin/order-edits/{id}/items/{action_id} Remove Item from Order Edit #
POST /admin/order-edits/{id}/request Request Order Edit #
POST /admin/order-edits/{id}/shipping-method Add Shipping Method to Order Edit #
POST /admin/order-edits/{id}/shipping-method/{action_id} Update Shipping Method of an Order Edit #
DELETE /admin/order-edits/{id}/shipping-method/{action_id} Remove Shipping Method from Order Edit #

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-order-edits-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

medusa-order-edits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.19.0
  title: Medusa Admin Order Edits API
  license:
    name: MIT
    url: https://github.com/medusajs/medusa/blob/develop/LICENSE
  description: 'An order edit is a change to an order''s details, such as items, shipping methods, and more.


    Changes made by an order edit are only applied on the order once they''re confirmed.


    The order''s previous version is retained due to versioning.


    These API routes allow admin users to make edits to an order and manage those edits.'
servers:
- url: http://localhost:9000
- url: https://api.medusajs.com
tags:


# --- truncated at 32 KB (226 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/medusa/refs/heads/main/openapi/medusa-order-edits-api-openapi.yml