Medusa Collections API

A product collection organizes products into a collection for marketing purposes. For example, a summer collection. These API routes allow admin users to manage collections and the products in them.

GitHub OpenAPI
Business capability
Storefront Platforms AE-140.10

Operations 8

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/collections List product collections (admin) · List Collections #
Ask an LLM
“Which product collections exist in the admin store?”
“Can I list collections by title or handle?”
Tell an agent
List all product collections.
Find the collection with handle {handle}.
POST /admin/collections Create a product collection · Create Collection #
Ask an LLM
“How do I create a new product collection?”
“Can I set a handle and metadata when creating a collection?”
Tell an agent
Create a collection titled {title}.
Create collection {title} with handle {handle}.
GET /admin/collections/{id} Get a product collection (admin) · Get a Collection #
Ask an LLM
“How do I look up one product collection by ID?”
“Can I fetch a collection's metadata through the admin API?”
Tell an agent
Get collection {id}.
Show the admin details of collection {id}.
POST /admin/collections/{id} Update a product collection · Update a Collection #
Ask an LLM
“Can I rename an existing product collection?”
“How do I update a collection's handle or metadata?”
Tell an agent
Rename collection {id} to {title}.
Set the handle of collection {id} to {handle}.
DELETE /admin/collections/{id} Delete a product collection · Delete a Collection #
Ask an LLM
“How do I delete a product collection?”
“Can I remove a collection I no longer sell?”
Tell an agent destructive · confirm first
Delete collection {id}.
Remove product collection {id}.
POST /admin/collections/{id}/products Add or remove products from a collection · Manage Products of a Collection #
Ask an LLM
“How do I add products to a collection?”
“Can I take products out of a collection without deleting them?”
Tell an agent
Add products {add} to collection {id}.
Remove products {remove} from collection {id}.
GET /store/collections List product collections (store) · List Collections #
Ask an LLM
“What product collections are available to customers on the storefront?”
“Can I search collections by title in the storefront API?”
Tell an agent
List storefront collections.
Find the storefront collection with handle {handle}.
GET /store/collections/{id} Get a product collection (store) · Get a Collection #
Ask an LLM
“How do I fetch one collection for the storefront?”
“Can I get a collection's details by ID in the storefront API?”
Tell an agent
Get storefront collection {id}.
Show collection {id} for the storefront.

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-collections-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-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Medusa Collections API
  version: 2.19.0
  description: 'Operations tagged Collections 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 (112 KB total) ---
# Full source: https://artifacts.apis.io/medusa/openapi/medusa-collections-api-openapi.yml