Medusa · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Medusa Gift Cards API

7 actions 7 updates phrasing extends openapi/medusa-gift-cards-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 7

$.info
$.paths['/admin/gift-cards'].get
$.paths['/admin/gift-cards'].post
$.paths['/admin/gift-cards/{id}'].get
$.paths['/admin/gift-cards/{id}'].post
$.paths['/admin/gift-cards/{id}/orders'].get
$.paths['/store/gift-cards/{idOrCode}'].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 Gift Cards API
  version: 1.0.0
extends: openapi/medusa-gift-cards-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: 6
- target: $.paths['/admin/gift-cards'].get
  update:
    x-apievangelist-phrasing:
      intent: List gift cards
      effect: read
      questions:
      - Which gift cards exist in the admin store?
      - Can I list gift cards issued to a particular customer?
      instructions:
      - text: List gift cards issued to customer {customer_id}.
        slots:
          customer_id: query.customer_id
      - text: Show gift cards created between {created_at}.
        slots:
          created_at: query.created_at
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/gift-cards'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a gift card
      effect: write
      questions:
      - How do I issue a new gift card with a code and value?
      - Can I set an expiry date when creating a gift card?
      instructions:
      - text: Create a gift card with code {code} worth {value} {currency_code} expiring at {expires_at}.
        slots:
          code: requestBody.code
          value: requestBody.value
          currency_code: requestBody.currency_code
          expires_at: requestBody.expires_at
      - text: Issue gift card {code} for customer {customer_id} referencing {reference}.
        slots:
          code: requestBody.code
          customer_id: requestBody.customer_id
          reference: requestBody.reference
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/gift-cards/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a gift card
      effect: read
      questions:
      - What are the details of a specific gift card?
      - Can I look up a gift card by its ID?
      instructions:
      - text: Get gift card {id}.
        slots:
          id: path.id
      - text: Show the status and expiry of gift card {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/gift-cards/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a gift card
      effect: write
      questions:
      - Can I change the value or expiry of an existing gift card?
      - Is it possible to add a note to a gift card?
      instructions:
      - text: Set the value of gift card {id} to {value}.
        slots:
          id: path.id
          value: requestBody.value
      - text: Change the expiry of gift card {id} to {expires_at}.
        slots:
          id: path.id
          expires_at: requestBody.expires_at
      - text: Add note {note} to gift card {id}.
        slots:
          note: requestBody.note
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/gift-cards/{id}/orders'].get
  update:
    x-apievangelist-phrasing:
      intent: List orders a gift card was used in
      effect: read
      questions:
      - In which orders was a given gift card redeemed?
      - Can I see the order history for one gift card?
      instructions:
      - text: List the orders where gift card {id} was used.
        slots:
          id: path.id
      - text: Show the order history for gift card {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/store/gift-cards/{idOrCode}'].get
  update:
    x-apievangelist-phrasing:
      intent: Look up a gift card by ID or code
      effect: read
      questions:
      - How do I redeem a gift card when I only have its code?
      - Can I fetch a gift card using either its ID or its code?
      instructions:
      - text: Get the gift card with code {idOrCode}.
        slots:
          idOrCode: path.idOrCode
      - text: Look up gift card {idOrCode} using its code.
        slots:
          idOrCode: path.idOrCode
      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-gift-cards-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.