Medusa Reservations API

A reservation is unavailable quantity of an inventory item in a location. A reservation is created automatically for variants in an order whose `manage_inventory` is enabled. Admin users can also create reservations manually. These API routes allow admin users to manage reservations.

GitHub OpenAPI
Business capability
Inventory Allocation Management BC-530.30

Operations 5

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/reservations List inventory reservations · List Reservations #
Ask an LLM
“Which inventory items are reserved at a given location?”
“Can I filter reservations by quantity or by the line item they cover?”
Tell an agent
List reservations for location {location_id}.
Show reservations for line item {line_item_id} with quantity {quantity}.
POST /admin/reservations Reserve inventory manually · Create Reservation #
Ask an LLM
“How do I reserve extra stock for an order before it ships?”
“Can I create a reservation for a variant at a specific location?”
Tell an agent
Reserve {quantity} of inventory item {inventory_item_id} at location {location_id}.
Create a manual reservation for line item {line_item_id} at {location_id} for {quantity}.
GET /admin/reservations/{id} Get one inventory reservation · Get a Reservation #
Ask an LLM
“What quantity and location does a specific reservation cover?”
“Can I look up a single reservation by its ID?”
Tell an agent
Get reservation {id}.
Show the details of reservation {id}.
POST /admin/reservations/{id} Update an inventory reservation · Update a Reservation #
Ask an LLM
“Can I change the quantity of an existing reservation?”
“How do I edit the description on a reservation?”
Tell an agent
Change reservation {id} to cover {quantity}.
Update the description of reservation {id} to {description}.
DELETE /admin/reservations/{id} Delete an inventory reservation · Delete a Reservation #
Ask an LLM
“How do I release reserved stock back into inventory?”
“Can I delete a reservation I created by mistake?”
Tell an agent destructive · confirm first
Delete reservation {id}.
Release the reserved stock tracked by reservation {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-reservations-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-reservations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.19.0
  title: Medusa Admin Reservations API
  license:
    name: MIT
    url: https://github.com/medusajs/medusa/blob/develop/LICENSE
  description: 'A reservation is unavailable quantity of an inventory item in a location.


    A reservation is created automatically for variants in an order whose `manage_inventory` is enabled. Admin users can also create reservations manually.


    These API routes allow admin users to manage reservations.'
servers:
- url: http://localhost:9000
- url: https://api.medusajs.com
tags:


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