Chargebee · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Chargebee Coupon Sets API

8 actions 8 updates phrasing extends openapi/chargebee-coupon-sets-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Chargebee's API. It is a proposal applied on top of the contract, not a document Chargebee publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/coupon_sets'].get
$.paths['/coupon_sets'].post
$.paths['/coupon_sets/{coupon-set-id}/update'].post
$.paths['/coupon_sets/{coupon-set-id}'].get
$.paths['/coupon_sets/{coupon-set-id}/add_coupon_codes'].post
$.paths['/coupon_sets/{coupon-set-id}/delete_unused_coupon_codes'].post
$.paths['/coupon_sets/{coupon-set-id}/delete'].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 Chargebee Coupon Sets API
  version: 1.0.0
extends: openapi/chargebee-coupon-sets-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-21'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/coupon_sets'].get
  update:
    x-apievangelist-phrasing:
      intent: List coupon sets
      effect: read
      questions:
      - Which coupon sets are available for my site?
      - Can I find a coupon set by name?
      instructions:
      - text: List all coupon sets.
      - text: Find the coupon set named {name}.
        slots:
          name: query.name
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupon_sets'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a coupon set
      effect: write
      questions:
      - How do I create a new coupon set?
      - What do I need to create a coupon set?
      instructions:
      - text: Create coupon set {name} with coupon {coupon_id} and ID {id}.
        slots:
          name: requestBody.name
          coupon_id: requestBody.coupon_id
          id: requestBody.id
      - text: Create coupon set {id} named {name}.
        slots:
          id: requestBody.id
          name: requestBody.name
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupon_sets/{coupon-set-id}/update'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a coupon set
      effect: write
      questions:
      - Can I rename an existing coupon set?
      - How do I change the metadata on a coupon set?
      instructions:
      - text: Rename coupon set {coupon_set_id} to {name}.
        slots:
          coupon_set_id: path.coupon-set-id
          name: requestBody.name
      - text: Set the metadata on coupon set {coupon_set_id} to {meta_data}.
        slots:
          coupon_set_id: path.coupon-set-id
          meta_data: requestBody.meta_data
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupon_sets/{coupon-set-id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a coupon set
      effect: read
      questions:
      - What coupons are in a particular coupon set?
      - Can I look up one coupon set by ID?
      instructions:
      - text: Get coupon set {coupon_set_id}.
        slots:
          coupon_set_id: path.coupon-set-id
      - text: Show the coupons in coupon set {coupon_set_id}.
        slots:
          coupon_set_id: path.coupon-set-id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupon_sets/{coupon-set-id}/add_coupon_codes'].post
  update:
    x-apievangelist-phrasing:
      intent: Add coupon codes to a coupon set
      effect: write
      questions:
      - How do I add new coupon codes to a coupon set?
      - Can I add a single code to an existing coupon set?
      instructions:
      - text: Add coupon code {code} to coupon set {coupon_set_id}.
        slots:
          code: requestBody.code
          coupon_set_id: path.coupon-set-id
      - text: Add these codes to coupon set {coupon_set_id}.
        slots:
          coupon_set_id: path.coupon-set-id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupon_sets/{coupon-set-id}/delete_unused_coupon_codes'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete unused codes from a coupon set
      effect: destructive
      questions:
      - How do I clean out codes that have never been used?
      - Can I remove unused coupon codes from a set?
      instructions:
      - text: Delete the unused codes in coupon set {coupon_set_id}.
        slots:
          coupon_set_id: path.coupon-set-id
      - text: Clean up unused codes from coupon set {coupon_set_id}.
        slots:
          coupon_set_id: path.coupon-set-id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupon_sets/{coupon-set-id}/delete'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete a coupon set
      effect: destructive
      questions:
      - How do I delete a coupon set?
      - Can I remove a coupon set I no longer use?
      instructions:
      - text: Delete coupon set {coupon_set_id}.
        slots:
          coupon_set_id: path.coupon-set-id
      - text: Remove coupon set {coupon_set_id}.
        slots:
          coupon_set_id: path.coupon-set-id
      method: generated
      generated: '2026-11-21'

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/chargebee-coupon-sets-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.