Medusa · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Medusa Admin Customer Groups API

7 actions 7 updates phrasing extends openapi/medusa-customer-groups-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/customer-groups'].get
$.paths['/admin/customer-groups'].post
$.paths['/admin/customer-groups/{id}'].get
$.paths['/admin/customer-groups/{id}'].post
$.paths['/admin/customer-groups/{id}'].delete
$.paths['/admin/customer-groups/{id}/customers'].post

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 Admin Customer Groups API
  version: 1.0.0
extends: openapi/medusa-customer-groups-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/customer-groups'].get
  update:
    x-apievangelist-phrasing:
      intent: List customer groups
      effect: read
      questions:
      - Which customer groups exist in my store?
      - Can I find a customer group by name?
      instructions:
      - text: List all customer groups.
      - text: Find customer groups named {name}.
        slots:
          name: query.name
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/customer-groups'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a customer group
      effect: write
      questions:
      - How do I create a group for a VIP customer segment?
      - Can I attach metadata to a new customer group?
      instructions:
      - text: Create a customer group named {name}.
        slots:
          name: requestBody.name
      - text: Create customer group {name} with metadata {metadata}.
        slots:
          name: requestBody.name
          metadata: requestBody.metadata
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/customer-groups/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a customer group
      effect: read
      questions:
      - What are the details of one customer group?
      - Can I look up a customer group by its ID?
      instructions:
      - text: Get customer group {id}.
        slots:
          id: path.id
      - text: Show the name and metadata of customer group {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/customer-groups/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a customer group
      effect: write
      questions:
      - Can I rename an existing customer group?
      - Is it possible to change the metadata on a customer group?
      instructions:
      - text: Rename customer group {id} to {name}.
        slots:
          id: path.id
          name: requestBody.name
      - text: Set the metadata of customer group {id} to {metadata}.
        slots:
          id: path.id
          metadata: requestBody.metadata
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/customer-groups/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a customer group
      effect: destructive
      questions:
      - How do I remove a customer group?
      - Does deleting a customer group also delete its customers?
      instructions:
      - text: Delete customer group {id}.
        slots:
          id: path.id
      - text: Remove the customer group {id} from the store.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-26'
- target: $.paths['/admin/customer-groups/{id}/customers'].post
  update:
    x-apievangelist-phrasing:
      intent: Add or remove customers from a group
      effect: write
      questions:
      - How do I add a customer to a customer group?
      - Can I take a customer out of a group?
      instructions:
      - text: Add customers {add} to customer group {id}.
        slots:
          add: requestBody.add
          id: path.id
      - text: Remove customers {remove} from customer group {id}.
        slots:
          remove: requestBody.remove
          id: path.id
      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-customer-groups-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.