Medusa Product Options API

A product option is a way to define different options for a product, such as "Size" or "Color". Product options can be created globally and used by multiple products, or they can be exclusive to a specific product. These API routes allow admin users to manage product options.

GitHub OpenAPI
Business capability
Product Configuration & Variant Management BC-820.40

Operations 11

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-options List product options · List Product Options #
Ask an LLM
“Which product options exist in my store?”
“Can I list only the product options that are exclusive to a product?”
Tell an agent
List all product options.
Find product options titled {title}.
POST /admin/product-options Create a product option · Create Product Option #
Ask an LLM
“How do I add a new option like color or size to my products?”
“Can a new product option be exclusive to one product?”
Tell an agent
Create a product option titled {title} with values {values}.
Add a new product option {title} with values {values} and ranks {ranks}.
GET /admin/product-options/{id} Get a product option · Get a Product Option #
Ask an LLM
“What values and ranks does a particular product option have?”
“Can I fetch one product option by its ID?”
Tell an agent
Get product option {id}.
Show the values and ranks of product option {id}.
POST /admin/product-options/{id} Update a product option · Update a Product Option #
Ask an LLM
“How do I rename an existing product option?”
“Can I change which values a product option includes?”
Tell an agent
Rename product option {id} to {title}.
Replace the values of product option {id} with {values}.
DELETE /admin/product-options/{id} Delete a product option · Delete a Product Option #
Ask an LLM
“How do I remove a product option I no longer sell?”
“Can I delete a product option entirely?”
Tell an agent destructive · confirm first
Delete product option {id}.
Remove the product option {id} from my store.
GET /admin/product-options/{id}/values List values of a product option · List Product Option Values #
Ask an LLM
“What values are available in a product option?”
“Can I search the values of one product option?”
Tell an agent
List the values of product option {id}.
Find values in product option {id} matching {q}.
GET /admin/product-options/{id}/values/{value_id} Get a product option value · Get Product Option Value #
Ask an LLM
“What is the value of one option value?”
“Can I fetch a single product option value by its ID?”
Tell an agent
Get value {value_id} of product option {id}.
Show the value {value_id} in product option {id}.
POST /admin/product-options/{id}/values/{value_id} Update a product option value · Update Product Option Value #
Ask an LLM
“How do I rename one value inside a product option?”
“Can I change the metadata on a product option value?”
Tell an agent
Rename value {value_id} in product option {id} to {value}.
Set metadata {metadata} on value {value_id} of product option {id}.
DELETE /admin/product-options/{id}/values/{value_id} Remove a value from a product option · Remove Value from Product Option #
Ask an LLM
“How do I take a color value out of a product option?”
“Can I remove one value from a product option without deleting the option?”
Tell an agent destructive · confirm first
Remove value {value_id} from product option {id}.
Delete option value {value_id} in product option {id}.
GET /store/product-options List product options (store) · List Product Options #
Ask an LLM
“Which product options are available to customers on the storefront?”
“Can I search store product options by title?”
Tell an agent
List storefront product options.
Find store product options titled {title}.
GET /store/product-options/{id} Retrieve a storefront product option · Get a Product Option #
Ask an LLM
“How do I look up a single product option on the storefront using its ID?”
“Can I limit which fields come back when retrieving a storefront product option?”
Tell an agent
Retrieve storefront product option {id} using publishable key {api_key}.
Retrieve storefront product option {id} with only the fields {fields}, using publishable key {api_key}.

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