Medusa · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Medusa Store Credit Accounts API
9 actions
9 updates
phrasing
extends
openapi/medusa-store-credit-accounts-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.
What the actions change
x-apievangelist-phrasing
Targets 9
$.info
$.paths['/admin/store-credit-accounts'].get
$.paths['/admin/store-credit-accounts'].post
$.paths['/admin/store-credit-accounts/{id}'].get
$.paths['/admin/store-credit-accounts/{id}/credit'].post
$.paths['/admin/store-credit-accounts/{id}/transactions'].get
$.paths['/store/store-credit-accounts'].get
$.paths['/store/store-credit-accounts/claim'].post
$.paths['/store/store-credit-accounts/{id}'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Medusa Store Credit Accounts API
version: 1.0.0
extends: openapi/medusa-store-credit-accounts-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: 8
- target: $.paths['/admin/store-credit-accounts'].get
update:
x-apievangelist-phrasing:
intent: List store credit accounts
effect: read
questions:
- Which customers have store credit accounts?
- Can I list store credit accounts in a specific currency?
instructions:
- text: List store credit accounts for customer {customer_id}.
slots:
customer_id: query.customer_id
- text: Show store credit accounts in currency {currency_code}.
slots:
currency_code: query.currency_code
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/store-credit-accounts'].post
update:
x-apievangelist-phrasing:
intent: Create a store credit account
effect: write
questions:
- How do I create a store credit account for a customer?
- Can I set metadata on a new store credit account?
instructions:
- text: Create a store credit account in {currency_code}.
slots:
currency_code: requestBody.currency_code
- text: Create a store credit account for customer {customer_id} in {currency_code}.
slots:
customer_id: requestBody.customer_id
currency_code: requestBody.currency_code
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/store-credit-accounts/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a store credit account
effect: read
questions:
- What is the balance of a specific store credit account?
- Can I look up one store credit account by its ID?
instructions:
- text: Get store credit account {id}.
slots:
id: path.id
- text: Show the balance of store credit account {id}.
slots:
id: path.id
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/store-credit-accounts/{id}/credit'].post
update:
x-apievangelist-phrasing:
intent: Add credit to a store credit account
effect: write
questions:
- How do I top up a customer's store credit account?
- Can I add a note when crediting a store credit account?
instructions:
- text: Credit store credit account {id} with {amount}.
slots:
id: path.id
amount: requestBody.amount
- text: Add {amount} to store credit account {id} with note {note}.
slots:
id: path.id
amount: requestBody.amount
note: requestBody.note
method: generated
generated: '2026-11-26'
- target: $.paths['/admin/store-credit-accounts/{id}/transactions'].get
update:
x-apievangelist-phrasing:
intent: List transactions on a store credit account
effect: read
questions:
- What transactions have happened on a store credit account?
- Can I search a customer's store credit transactions?
instructions:
- text: List transactions on store credit account {id}.
slots:
id: path.id
- text: Show store credit transactions for account {id} matching {q}.
slots:
id: path.id
q: query.q
method: generated
generated: '2026-11-26'
- target: $.paths['/store/store-credit-accounts'].get
update:
x-apievangelist-phrasing:
intent: List my store credit accounts
effect: read
questions:
- What store credit accounts do I have?
- Can I see only my store credit accounts in a given currency?
instructions:
- text: List my store credit accounts.
- text: Show my store credit accounts in {currency_code}.
slots:
currency_code: query.currency_code
method: generated
generated: '2026-11-26'
- target: $.paths['/store/store-credit-accounts/claim'].post
update:
x-apievangelist-phrasing:
intent: Claim a store credit account
effect: write
questions:
- How do I claim a store credit account from a gift card?
- Can I claim an anonymous store credit account?
instructions:
- text: Claim store credit account {code}.
slots:
code: requestBody.code
- text: Redeem store credit code {code} for my account.
slots:
code: requestBody.code
method: generated
generated: '2026-11-26'
- target: $.paths['/store/store-credit-accounts/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get the logged-in customer's store credit account
effect: read
questions:
- How do I see the store credit account tied to the logged-in customer?
- Can I get the localized details of one of my store credit accounts?
- What does the Medusa store API return when I fetch a single store credit account by ID?
instructions:
- text: Retrieve my store credit account {id} using publishable key {api_key}.
slots:
id: path.id
api_key: header.x-publishable-api-key
- text: Fetch store credit account {id} localized for {locale}.
slots:
id: path.id
locale: query.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/medusa-store-credit-accounts-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.