Medusa · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Medusa Product Types API

8 actions 8 updates phrasing extends openapi/medusa-product-types-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 8

$.info
$.paths['/admin/product-types'].get
$.paths['/admin/product-types'].post
$.paths['/admin/product-types/{id}'].get
$.paths['/admin/product-types/{id}'].post
$.paths['/admin/product-types/{id}'].delete
$.paths['/store/product-types'].get
$.paths['/store/product-types/{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 Types API
  version: 1.0.0
extends: openapi/medusa-product-types-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: 7
- target: $.paths['/admin/product-types'].get
  update:
    x-apievangelist-phrasing:
      intent: List product types (admin)
      effect: read
      questions:
      - What product types are defined in the admin API?
      - Can I list product types created within a date range?
      instructions:
      - text: List product types matching {q}.
        slots:
          q: query.q
      - text: Show admin product types created between {created_at}.
        slots:
          created_at: query.created_at
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/product-types'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a product type
      effect: write
      questions:
      - How do I add a new product type like size or color?
      - Can I link a product type to an external system?
      instructions:
      - text: Create product type {value}.
        slots:
          value: requestBody.value
      - text: Add product type {value} with external ID {external_id}.
        slots:
          value: requestBody.value
          external_id: requestBody.external_id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/product-types/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a product type (admin)
      effect: read
      questions:
      - What value and metadata does a product type have?
      - Can I fetch one product type by its ID?
      instructions:
      - text: Get admin product type {id}.
        slots:
          id: path.id
      - text: Show product type {id} with fields {fields}.
        slots:
          id: path.id
          fields: query.fields
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/product-types/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a product type
      effect: write
      questions:
      - How do I rename an existing product type?
      - Can I change a product type's external ID?
      instructions:
      - text: Rename product type {id} to {value}.
        slots:
          id: path.id
          value: requestBody.value
      - text: Set product type {id} external ID to {external_id}.
        slots:
          id: path.id
          external_id: requestBody.external_id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/product-types/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a product type
      effect: destructive
      questions:
      - How do I remove a product type?
      - Does deleting a product type also delete products of that type?
      instructions:
      - text: Delete product type {id}.
        slots:
          id: path.id
      - text: Remove product type {id} from the admin.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/store/product-types'].get
  update:
    x-apievangelist-phrasing:
      intent: List product types (store)
      effect: read
      questions:
      - Which product types are available to customers in the storefront?
      - Can I search store product types by value?
      instructions:
      - text: List storefront product types matching {q}.
        slots:
          q: query.q
      - text: Show store product types with external ID {external_id}.
        slots:
          external_id: query.external_id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/store/product-types/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a product type (store)
      effect: read
      questions:
      - What does a specific product type look like in the storefront?
      - Can I fetch a store product type by ID?
      instructions:
      - text: Get storefront product type {id}.
        slots:
          id: path.id
      - text: Show store product type {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-types-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.