Medusa · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Medusa Product Categories API

9 actions 9 updates phrasing extends openapi/medusa-product-categories-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/product-categories'].get
$.paths['/admin/product-categories'].post
$.paths['/admin/product-categories/{id}'].get
$.paths['/admin/product-categories/{id}'].post
$.paths['/admin/product-categories/{id}'].delete
$.paths['/admin/product-categories/{id}/products'].post
$.paths['/store/product-categories'].get
$.paths['/store/product-categories/{id}'].get

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 Product Categories API
  version: 1.0.0
extends: openapi/medusa-product-categories-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/product-categories'].get
  update:
    x-apievangelist-phrasing:
      intent: List product categories
      effect: read
      questions:
      - How do I get the product categories in the store?
      - Can I list only the active categories?
      - What filter options exist for product categories?
      instructions:
      - text: List all product categories.
      - text: Find product categories matching {q}.
        slots:
          q: query.q
      - text: Show product categories with parent {parent_category_id}.
        slots:
          parent_category_id: query.parent_category_id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/product-categories'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a product category
      effect: write
      questions:
      - How do I create a new product category for my store?
      - Can a new category be a subcategory of an existing one?
      instructions:
      - text: Create a product category named {name}.
        slots:
          name: requestBody.name
      - text: Create category {name} under parent {parent}.
        slots:
          name: requestBody.name
          parent: requestBody.parent_category_id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/product-categories/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a product category (admin)
      effect: read
      questions:
      - How do I look up one product category by ID in the admin store?
      - Can I include a category's parent and child categories in the response?
      instructions:
      - text: Get product category {id}.
        slots:
          id: path.id
      - text: Show category {id} with its parent and child categories.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/product-categories/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a product category
      effect: write
      questions:
      - How do I rename an existing product category?
      - Can I deactivate a category or change its parent?
      instructions:
      - text: Rename product category {id} to {name}.
        slots:
          id: path.id
          name: requestBody.name
      - text: Set category {id} active to {active}.
        slots:
          id: path.id
          active: requestBody.is_active
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/product-categories/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a product category
      effect: destructive
      questions:
      - How do I delete a product category?
      - Why can't I delete a category that still has child categories?
      instructions:
      - text: Delete product category {id}.
        slots:
          id: path.id
      - text: Remove category {id} from the store.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/product-categories/{id}/products'].post
  update:
    x-apievangelist-phrasing:
      intent: Add or remove products from a category
      effect: write
      questions:
      - How do I add products to a product category?
      - Can I remove products from a category without deleting the products?
      instructions:
      - text: Add products {add} to category {id}.
        slots:
          id: path.id
          add: requestBody.add
      - text: Remove products {remove} from category {id}.
        slots:
          id: path.id
          remove: requestBody.remove
      method: generated
      generated: '2026-11-26'
- target: $.paths['/store/product-categories'].get
  update:
    x-apievangelist-phrasing:
      intent: List product categories (storefront)
      effect: read
      questions:
      - How do I list product categories for my storefront?
      - Can I search categories by name or handle?
      instructions:
      - text: List storefront product categories.
      - text: Search storefront categories for {q}.
        slots:
          q: query.q
      method: generated
      generated: '2026-11-26'
- target: $.paths['/store/product-categories/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a product category (storefront)
      effect: read
      questions:
      - How do I fetch one product category by ID for the storefront?
      - Can I get a category in a specific locale?
      instructions:
      - text: Get storefront category {id}.
        slots:
          id: path.id
      - text: Show category {id} in locale {locale}.
        slots:
          id: path.id
          locale: query.locale
      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-product-categories-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.