Medusa Stock Locations API

A stock location is where stock-kept items (products) are kept. Stock locations are linked to fulfillment providers used to fulfill items from this location. A stock location is also link to a fulfillment set, indicating where an item is fulfilled from when an order is placed. These API routes allow admin users to manage stock locations and their linked data.

Operations 8

GET /admin/stock-locations List Stock Locations #
POST /admin/stock-locations Create Stock Location #
GET /admin/stock-locations/{id} Get a Stock Location #
POST /admin/stock-locations/{id} Update a Stock Location #
DELETE /admin/stock-locations/{id} Delete a Stock Location #
POST /admin/stock-locations/{id}/fulfillment-providers Manage Fulfillment Providers of a Stock Location #
POST /admin/stock-locations/{id}/fulfillment-sets Add Fulfillment Set to Stock Location #
POST /admin/stock-locations/{id}/sales-channels Manage Sales Channels of a Stock Location #

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-stock-locations-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-stock-locations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.19.0
  title: Medusa Admin Stock Locations API
  license:
    name: MIT
    url: https://github.com/medusajs/medusa/blob/develop/LICENSE
  description: 'A stock location is where stock-kept items (products) are kept.


    Stock locations are linked to fulfillment providers used to fulfill items from this location.


    A stock location is also link to a fulfillment set, indicating where an item is fulfilled from when an order is placed.


    These API routes allow admin users to manage stock locations and their linked data.'
servers:
- url: http://localhost:9000
- url: https://api.medusajs.com
tags:


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