Medusa · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Medusa Products API

28 actions 28 updates phrasing extends openapi/medusa-products-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 28 · first 16 shown; the file carries all of them

$.info
$.paths['/admin/products'].get
$.paths['/admin/products'].post
$.paths['/admin/products/batch'].post
$.paths['/admin/products/export'].post
$.paths['/admin/products/import'].post
$.paths['/admin/products/import/{transaction_id}/confirm'].post
$.paths['/admin/products/imports'].post
$.paths['/admin/products/imports/{transaction_id}/confirm'].post
$.paths['/admin/products/{id}'].get
$.paths['/admin/products/{id}'].post
$.paths['/admin/products/{id}'].delete
$.paths['/admin/products/{id}/images/{image_id}/variants/batch'].post
$.paths['/admin/products/{id}/options'].get
$.paths['/admin/products/{id}/options/batch'].post
$.paths['/admin/products/{id}/variants'].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 Products API
  version: 1.0.0
extends: openapi/medusa-products-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: 27
- target: $.paths['/admin/products'].get
  update:
    x-apievangelist-phrasing:
      intent: List products
      effect: read
      questions:
      - How do I list all products in my store?
      - Can I filter products by title, handle or status?
      - Is it possible to list only gift card products?
      instructions:
      - text: List all products.
      - text: List products with title {title}.
        slots:
          title: query.title
      - text: List products with status {status}.
        slots:
          status: query.status
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a product
      effect: write
      questions:
      - How do I add a new product to my store?
      - Can I set a product's title, description and variants in one request?
      instructions:
      - text: Create a product titled {title}.
        slots:
          title: requestBody.title
      - text: Create product {title} with variants {variants}.
        slots:
          title: requestBody.title
          variants: requestBody.variants
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/batch'].post
  update:
    x-apievangelist-phrasing:
      intent: Create, update or delete products in bulk
      effect: write
      questions:
      - Can I create many products in one request?
      - Is there a bulk way to update or delete products?
      instructions:
      - text: 'Create these products in one batch: {create}.'
        slots:
          create: requestBody.create
      - text: Update and delete products in bulk with {update} and {delete}.
        slots:
          update: requestBody.update
          delete: requestBody.delete
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/export'].post
  update:
    x-apievangelist-phrasing:
      intent: Export products to CSV
      effect: write
      questions:
      - How do I export all products to a CSV file?
      - Can I export only products with a certain tag?
      instructions:
      - text: Export all products to CSV.
      - text: Export products tagged {tags} to a CSV.
        slots:
          tags: query.tags
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/import'].post
  update:
    x-apievangelist-phrasing:
      intent: Start a product import from a file
      effect: write
      questions:
      - How do I import products from a CSV file?
      - What file do I upload to kick off a product import?
      instructions:
      - text: Start a product import from file {file}.
        slots:
          file: requestBody.file
      - text: Import the products in {file} into Medusa.
        slots:
          file: requestBody.file
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/import/{transaction_id}/confirm'].post
  update:
    x-apievangelist-phrasing:
      intent: Confirm a product import
      effect: write
      questions:
      - How do I confirm that an imported product file should be imported?
      - What do I send to start the product import process?
      instructions:
      - text: Confirm product import {transaction_id}.
        slots:
          transaction_id: path.transaction_id
      - text: Start importing the products from import {transaction_id}.
        slots:
          transaction_id: path.transaction_id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/imports'].post
  update:
    x-apievangelist-phrasing:
      intent: Start a product import from a file
      effect: write
      questions:
      - How do I start importing products from a CSV I uploaded?
      - Do the products get imported right away or do I confirm it?
      instructions:
      - text: Start a product import from {file_key} with name {originalname}, size {size}, type {mime_type}.
        slots:
          file_key: requestBody.file_key
          originalname: requestBody.originalname
          size: requestBody.size
          mime_type: requestBody.mime_type
      - text: Begin importing products from {file_key} ({originalname}, {size} bytes, {mime_type}).
        slots:
          file_key: requestBody.file_key
          originalname: requestBody.originalname
          size: requestBody.size
          mime_type: requestBody.mime_type
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/imports/{transaction_id}/confirm'].post
  update:
    x-apievangelist-phrasing:
      intent: Confirm a pending product import
      effect: write
      questions:
      - How do I let a created product import go ahead and load its products?
      - Is there a step after uploading a product file that actually begins the import?
      - What does confirming a product import by transaction ID do?
      instructions:
      - text: Approve the pending import with transaction ID {transaction_id} so its products get loaded.
        slots:
          transaction_id: path.transaction_id
      - text: Go ahead and run the prepared import for transaction {transaction_id}.
        slots:
          transaction_id: path.transaction_id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a product
      effect: read
      questions:
      - How do I look up one product by its ID?
      - Can I fetch a product with its variants included?
      instructions:
      - text: Get product {id}.
        slots:
          id: path.id
      - text: Show product {id} with its variants.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a product
      effect: write
      questions:
      - How do I change a product's title or description?
      - Can I update a product's variants in place?
      instructions:
      - text: Update product {id} to have title {title}.
        slots:
          id: path.id
          title: requestBody.title
      - text: Set the variants of product {id} to {variants}.
        slots:
          id: path.id
          variants: requestBody.variants
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a product
      effect: destructive
      questions:
      - How do I delete a product?
      - Can I remove a product from my store?
      instructions:
      - text: Delete product {id}.
        slots:
          id: path.id
      - text: Remove product {id} from the store.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/images/{image_id}/variants/batch'].post
  update:
    x-apievangelist-phrasing:
      intent: Add or remove variants from a product image
      effect: write
      questions:
      - How do I make a product image show on certain variants?
      - Can I remove an image from some variants of a product?
      instructions:
      - text: Add image {image_id} to variants {add} of product {id}.
        slots:
          image_id: path.image_id
          add: requestBody.add
          id: path.id
      - text: Remove image {image_id} from variants {remove} of product {id}.
        slots:
          image_id: path.image_id
          remove: requestBody.remove
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/options'].get
  update:
    x-apievangelist-phrasing:
      intent: List a product's options
      effect: read
      questions:
      - What options does a product have?
      - Can I list only the exclusive options of a product?
      instructions:
      - text: List the options of product {id}.
        slots:
          id: path.id
      - text: 'Show options of product {id} that are exclusive: {is_exclusive}.'
        slots:
          id: path.id
          is_exclusive: query.is_exclusive
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/options/batch'].post
  update:
    x-apievangelist-phrasing:
      intent: Add or remove options from a product
      effect: write
      questions:
      - How do I add new options to a product?
      - Can I remove options from a product in bulk?
      instructions:
      - text: Add options {add} to product {id}.
        slots:
          add: requestBody.add
          id: path.id
      - text: Remove options {remove} from product {id}.
        slots:
          remove: requestBody.remove
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/variants'].get
  update:
    x-apievangelist-phrasing:
      intent: List a product's variants
      effect: read
      questions:
      - How do I see all variants of a product?
      - Can I filter a product's variants by SKU or barcode?
      instructions:
      - text: List the variants of product {id}.
        slots:
          id: path.id
      - text: Show variants of product {id} with SKU {sku}.
        slots:
          id: path.id
          sku: query.sku
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/variants'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a product variant
      effect: write
      questions:
      - How do I add a new variant to a product?
      - Can I set prices and options on a product variant when creating it?
      instructions:
      - text: Create variant {title} on product {id} with prices {prices}.
        slots:
          title: requestBody.title
          id: path.id
          prices: requestBody.prices
      - text: Add variant {title} to product {id} with options {options}.
        slots:
          title: requestBody.title
          id: path.id
          options: requestBody.options
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/variants/batch'].post
  update:
    x-apievangelist-phrasing:
      intent: Create, update or delete product variants in bulk
      effect: write
      questions:
      - Can I create several variants of a product in one request?
      - Is there a bulk way to update or delete product variants?
      instructions:
      - text: 'Create these variants on product {id}: {create}.'
        slots:
          id: path.id
          create: requestBody.create
      - text: Update and delete variants on product {id} with {update} and {delete}.
        slots:
          id: path.id
          update: requestBody.update
          delete: requestBody.delete
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/variants/inventory-items/batch'].post
  update:
    x-apievangelist-phrasing:
      intent: Associate or deassociate variants with inventory items
      effect: write
      questions:
      - How do I link product variants to specific inventory items?
      - Can I update or unlink variant-inventory associations in bulk?
      instructions:
      - text: Associate variants of product {id} with inventory items {create}.
        slots:
          id: path.id
          create: requestBody.create
      - text: Update variant-inventory links on product {id} to {update}.
        slots:
          id: path.id
          update: requestBody.update
      - text: Unlink variants of product {id} whose associations are {delete}.
        slots:
          id: path.id
          delete: requestBody.delete
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/variants/{variant_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a product variant
      effect: read
      questions:
      - How do I look up one variant of a product?
      - Can I fetch a single product variant by its ID?
      instructions:
      - text: Get variant {variant_id} of product {id}.
        slots:
          variant_id: path.variant_id
          id: path.id
      - text: Show product {id}'s variant {variant_id}.
        slots:
          id: path.id
          variant_id: path.variant_id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/variants/{variant_id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a product variant
      effect: write
      questions:
      - How do I change a product variant's SKU or prices?
      - Can I update a variant's options or inventory settings?
      instructions:
      - text: Update variant {variant_id} of product {id} to have SKU {sku}.
        slots:
          variant_id: path.variant_id
          id: path.id
          sku: requestBody.sku
      - text: Set the prices of variant {variant_id} on product {id} to {prices}.
        slots:
          variant_id: path.variant_id
          id: path.id
          prices: requestBody.prices
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/variants/{variant_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a product variant
      effect: destructive
      questions:
      - How do I remove a variant from a product?
      - Can I delete one variant without deleting the product?
      instructions:
      - text: Delete variant {variant_id} from product {id}.
        slots:
          variant_id: path.variant_id
          id: path.id
      - text: Remove product variant {variant_id} on {id}.
        slots:
          variant_id: path.variant_id
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/variants/{variant_id}/images/batch'].post
  update:
    x-apievangelist-phrasing:
      intent: Add or remove images on a product variant
      effect: write
      questions:
      - How do I add images to a product variant?
      - Can I remove images from a variant without touching the product?
      instructions:
      - text: Add images {add} to variant {variant_id} of product {id}.
        slots:
          add: requestBody.add
          variant_id: path.variant_id
          id: path.id
      - text: Remove images {remove} from product variant {variant_id} on {id}.
        slots:
          remove: requestBody.remove
          variant_id: path.variant_id
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/variants/{variant_id}/inventory-items'].post
  update:
    x-apievangelist-phrasing:
      intent: Associate a variant with an inventory item
      effect: write
      questions:
      - How do I link a product variant to an inventory item?
      - Can I set the quantity a variant is stocked in an inventory item?
      instructions:
      - text: Associate variant {variant_id} of product {id} with inventory item {inventory_item_id} holding {required_quantity} units.
        slots:
          variant_id: path.variant_id
          id: path.id
          inventory_item_id: requestBody.inventory_item_id
          required_quantity: requestBody.required_quantity
      - text: Stock product variant {variant_id} on {id} at inventory item {inventory_item_id} with quantity {required_quantity}.
        slots:
          variant_id: path.variant_id
          id: path.id
          inventory_item_id: requestBody.inventory_item_id
          required_quantity: requestBody.required_quantity
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/variants/{variant_id}/inventory-items/{inventory_item_id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a variant's inventory item
      effect: write
      questions:
      - How do I change the quantity on an inventory item that manages a variant?
      - Can I edit the inventory details of a product variant?
      instructions:
      - text: Update inventory item {inventory_item_id} on variant {variant_id} of product {id} to hold {required_quantity} units.
        slots:
          inventory_item_id: path.inventory_item_id
          variant_id: path.variant_id
          id: path.id
          required_quantity: requestBody.required_quantity
      - text: Change the stock quantity of product variant {variant_id} on {id} managed by inventory item {inventory_item_id} to {required_quantity}.
        slots:
          variant_id: path.variant_id
          id: path.id
          inventory_item_id: path.inventory_item_id
          required_quantity: requestBody.required_quantity
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/products/{id}/variants/{variant_id}/inventory-items/{inventory_item_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a variant's inventory item association
      effect: destructive
      questions:
      - How do I unlink an inventory item from a product variant?
      - Can I detach stock tracking from a variant without deleting the inventory item?
      instructions:
      - text: Remove inventory item {inventory_item_id} from variant {variant_id} of product {id}.
        slots:
          inventory_item_id: path.inventory_item_id
          variant_id: path.variant_id
          id: path.id
      - text: Detach stock tracking item {inventory_item_id} from product variant {variant_id} on {id}.
        slots:
          inventory_item_id: path.inventory_item_id
          variant_id: path.variant_id
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/store/products'].get
  update:
    x-apievangelist-phrasing:
      intent: List products
      effect: read
      questions:
      - Which products are in my store?
      - Can I filter products by title, handle or collection?
      - How do I search products by keyword?
      instructions:
      - text: List products matching {q}.
        slots:
          q: query.q
      - text: Show products in collection {collection_id}.
        slots:
          collection_id: query.collection_id
      - text: Find products with handle {handle}.
        slots:
          handle: query.handle
      method: generated
      generated: '2026-11-26'
- target: $.paths['/store/products/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a product in the store
      effect: read
      questions:
      - Can I fetch a storefront product and have its title translated for a locale?
      - Which locale are store product titles returned in if none is given?
      instructions:
      - text: Get store product {id} in locale {locale}.
        slots:
          id: path.id
          locale: query.locale
      - text: Show storefront product {id} translated to {x-medusa-locale}.
        slots:
          id: path.id
          x-medusa-locale: header.x-medusa-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-products-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.