Medusa · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Medusa Admin Stock Locations API

9 actions 9 updates phrasing extends openapi/medusa-stock-locations-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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 9

$.info
$.paths['/admin/stock-locations'].get
$.paths['/admin/stock-locations'].post
$.paths['/admin/stock-locations/{id}'].get
$.paths['/admin/stock-locations/{id}'].post
$.paths['/admin/stock-locations/{id}'].delete
$.paths['/admin/stock-locations/{id}/fulfillment-providers'].post
$.paths['/admin/stock-locations/{id}/fulfillment-sets'].post
$.paths['/admin/stock-locations/{id}/sales-channels'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Medusa Admin Stock Locations API
  version: 1.0.0
extends: openapi/medusa-stock-locations-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: 8
- target: $.paths['/admin/stock-locations'].get
  update:
    x-apievangelist-phrasing:
      intent: List stock locations
      effect: read
      questions:
      - Which stock locations hold my inventory?
      - Can I filter stock locations by name or address?
      instructions:
      - text: List all stock locations.
      - text: Find stock locations named {name}.
        slots:
          name: query.name
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/stock-locations'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a stock location
      effect: write
      questions:
      - How do I add a new warehouse as a stock location?
      - Can I set metadata on a new stock location?
      instructions:
      - text: Create a stock location named {name}.
        slots:
          name: requestBody.name
      - text: Create stock location {name} with address {address}.
        slots:
          name: requestBody.name
          address: requestBody.address
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/stock-locations/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a stock location
      effect: read
      questions:
      - What address and metadata does a stock location have?
      - Can I look up one stock location by ID?
      instructions:
      - text: Get stock location {id}.
        slots:
          id: path.id
      - text: Show the address and metadata of stock location {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/stock-locations/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a stock location
      effect: write
      questions:
      - How do I change the address of an existing stock location?
      - Can I rename a stock location?
      instructions:
      - text: Rename stock location {id} to {name}.
        slots:
          id: path.id
          name: requestBody.name
      - text: Set the address of stock location {id} to {address}.
        slots:
          id: path.id
          address: requestBody.address
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/stock-locations/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a stock location
      effect: destructive
      questions:
      - How do I remove a stock location?
      - Can I delete a warehouse stock location?
      instructions:
      - text: Delete stock location {id}.
        slots:
          id: path.id
      - text: Remove the stock location {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/stock-locations/{id}/fulfillment-providers'].post
  update:
    x-apievangelist-phrasing:
      intent: Add or remove fulfillment providers on a stock location
      effect: write
      questions:
      - How do I make a stock location fulfill orders through a particular fulfillment provider?
      - Can I remove a fulfillment provider from a stock location?
      instructions:
      - text: Add fulfillment providers {add} to stock location {id}.
        slots:
          add: requestBody.add
          id: path.id
      - text: Remove fulfillment providers {remove} from stock location {id}.
        slots:
          remove: requestBody.remove
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/stock-locations/{id}/fulfillment-sets'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a fulfillment set to a stock location
      effect: write
      questions:
      - How do I create a fulfillment set for a stock location?
      - Can I choose the type of a new fulfillment set?
      instructions:
      - text: Add a {type} fulfillment set named {name} to stock location {id}.
        slots:
          type: requestBody.type
          name: requestBody.name
          id: path.id
      - text: Create fulfillment set {name} of type {type} on stock location {id}.
        slots:
          name: requestBody.name
          type: requestBody.type
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/stock-locations/{id}/sales-channels'].post
  update:
    x-apievangelist-phrasing:
      intent: Add or remove sales channels on a stock location
      effect: write
      questions:
      - How do I make a stock location available on certain sales channels?
      - Can I take a stock location off a sales channel?
      instructions:
      - text: Add sales channels {add} to stock location {id}.
        slots:
          add: requestBody.add
          id: path.id
      - text: Remove sales channels {remove} from stock location {id}.
        slots:
          remove: requestBody.remove
          id: path.id
      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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/medusa-stock-locations-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.