Medusa Product Types API

Products can be organized into types. Each type has a name and a value. Products are organized into the same type if they have the same value. These API routes allow admin users to manage product types.

GitHub OpenAPI

Operations 7

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/product-types List product types (admin) · List Product Types #
Ask an LLM
“What product types are defined in the admin API?”
“Can I list product types created within a date range?”
Tell an agent
List product types matching {q}.
Show admin product types created between {created_at}.
POST /admin/product-types Create a product type · Create Product Type #
Ask an LLM
“How do I add a new product type like size or color?”
“Can I link a product type to an external system?”
Tell an agent
Create product type {value}.
Add product type {value} with external ID {external_id}.
GET /admin/product-types/{id} Get a product type (admin) · Get a Product Type #
Ask an LLM
“What value and metadata does a product type have?”
“Can I fetch one product type by its ID?”
Tell an agent
Get admin product type {id}.
Show product type {id} with fields {fields}.
POST /admin/product-types/{id} Update a product type · Update a Product Type #
Ask an LLM
“How do I rename an existing product type?”
“Can I change a product type's external ID?”
Tell an agent
Rename product type {id} to {value}.
Set product type {id} external ID to {external_id}.
DELETE /admin/product-types/{id} Delete a product type · Delete a Product Type #
Ask an LLM
“How do I remove a product type?”
“Does deleting a product type also delete products of that type?”
Tell an agent destructive · confirm first
Delete product type {id}.
Remove product type {id} from the admin.
GET /store/product-types List product types (store) · List Product Types #
Ask an LLM
“Which product types are available to customers in the storefront?”
“Can I search store product types by value?”
Tell an agent
List storefront product types matching {q}.
Show store product types with external ID {external_id}.
GET /store/product-types/{id} Get a product type (store) · Get a Product Type #
Ask an LLM
“What does a specific product type look like in the storefront?”
“Can I fetch a store product type by ID?”
Tell an agent
Get storefront product type {id}.
Show store product type {id} in locale {locale}.

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-product-types-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-product-types-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Medusa Product Types API
  version: 2.19.0
  description: 'Operations tagged Product Types across 2 of this provider''s published API definitions: medusa-admin-openapi.yaml, medusa-store-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:9000
- url: https://api.medusajs.com
tags:


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