Chargebee · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Chargebee Coupons API
10 actions
10 updates
phrasing
extends
openapi/chargebee-coupons-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.
What the actions change
x-apievangelist-phrasing
Targets 10
$.info
$.paths['/coupons'].get
$.paths['/coupons'].post
$.paths['/coupons/{coupon-id}/update_for_items'].post
$.paths['/coupons/{coupon-id}/unarchive'].post
$.paths['/coupons/{coupon-id}/delete'].post
$.paths['/coupons/copy'].post
$.paths['/coupons/{coupon-id}'].get
$.paths['/coupons/{coupon-id}'].post
$.paths['/coupons/create_for_items'].post
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 Chargebee Coupons API
version: 1.0.0
extends: openapi/chargebee-coupons-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: 9
- target: $.paths['/coupons'].get
update:
x-apievangelist-phrasing:
intent: List coupons
effect: read
questions:
- Which coupons are currently active on my site?
- Can I filter coupons by status or duration type?
instructions:
- text: List all coupons.
- text: Find coupons with status {status}.
slots:
status: query.status
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons'].post
update:
x-apievangelist-phrasing:
intent: Create a coupon
effect: write
questions:
- How do I create a new coupon for a plan or addon?
- Can a coupon be limited to certain plans or addons?
instructions:
- text: Create coupon {id} named {name} that applies on {apply_on}.
slots:
id: requestBody.id
name: requestBody.name
apply_on: requestBody.apply_on
- text: Create a {discount_type} coupon {id} for {apply_on} with a {discount_percentage} percent discount.
slots:
discount_type: requestBody.discount_type
id: requestBody.id
apply_on: requestBody.apply_on
discount_percentage: requestBody.discount_percentage
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon-id}/update_for_items'].post
update:
x-apievangelist-phrasing:
intent: Update a coupon's item constraints
effect: write
questions:
- How do I change which items a coupon applies to?
- Can I set item constraints on an existing coupon?
instructions:
- text: Update coupon {coupon_id} to apply only to items matching {item_constraints}.
slots:
coupon_id: path.coupon-id
item_constraints: requestBody.item_constraints
- text: Set item constraint criteria {item_constraint_criteria} on coupon {coupon_id}.
slots:
item_constraint_criteria: requestBody.item_constraint_criteria
coupon_id: path.coupon-id
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon-id}/unarchive'].post
update:
x-apievangelist-phrasing:
intent: Unarchive a coupon
effect: write
questions:
- How do I bring back a coupon I archived?
- Can I reactivate an archived coupon?
instructions:
- text: Unarchive coupon {coupon_id}.
slots:
coupon_id: path.coupon-id
- text: Reactivate the archived coupon {coupon_id}.
slots:
coupon_id: path.coupon-id
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon-id}/delete'].post
update:
x-apievangelist-phrasing:
intent: Delete a coupon
effect: destructive
questions:
- How do I permanently delete a coupon?
- Can I remove a coupon from my site?
instructions:
- text: Delete coupon {coupon_id}.
slots:
coupon_id: path.coupon-id
- text: Remove the coupon {coupon_id} from my site.
slots:
coupon_id: path.coupon-id
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/copy'].post
update:
x-apievangelist-phrasing:
intent: Copy a coupon from another site
effect: write
questions:
- How do I copy a coupon from a different site?
- Can I duplicate a coupon for site merging?
instructions:
- text: Copy coupon {id_at_from_site} from site {from_site}.
slots:
id_at_from_site: requestBody.id_at_from_site
from_site: requestBody.from_site
- text: Duplicate coupon {id_at_from_site} from {from_site} as {id}.
slots:
id_at_from_site: requestBody.id_at_from_site
from_site: requestBody.from_site
id: requestBody.id
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon-id}'].get
update:
x-apievangelist-phrasing:
intent: Get a coupon
effect: read
questions:
- What are the details of a specific coupon?
- Can I look up one coupon by its ID?
instructions:
- text: Get coupon {coupon_id}.
slots:
coupon_id: path.coupon-id
- text: Show the details of coupon {coupon_id}.
slots:
coupon_id: path.coupon-id
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/{coupon-id}'].post
update:
x-apievangelist-phrasing:
intent: Update a coupon
effect: write
questions:
- How do I change the discount amount on an existing coupon?
- Can I extend the expiry of a coupon?
instructions:
- text: Update coupon {coupon_id} to expire at {valid_till}.
slots:
coupon_id: path.coupon-id
valid_till: requestBody.valid_till
- text: Change the discount on coupon {coupon_id} to {discount_amount}.
slots:
coupon_id: path.coupon-id
discount_amount: requestBody.discount_amount
method: generated
generated: '2026-11-21'
- target: $.paths['/coupons/create_for_items'].post
update:
x-apievangelist-phrasing:
intent: Create a coupon scoped to items
effect: write
questions:
- How do I create a coupon that only applies to certain items?
- Can a new coupon be limited to specific item constraints?
instructions:
- text: Create a coupon {id} named {name} that applies on {apply_on} with item constraints {item_constraints}.
slots:
id: requestBody.id
name: requestBody.name
apply_on: requestBody.apply_on
item_constraints: requestBody.item_constraints
- text: Create a {discount_type} coupon {id} for {apply_on} limited to items matching {item_constraint_criteria}.
slots:
discount_type: requestBody.discount_type
id: requestBody.id
apply_on: requestBody.apply_on
item_constraint_criteria: requestBody.item_constraint_criteria
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/chargebee-coupons-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.