Maxio · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Maxio Coupons API

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

What the actions change

x-apievangelist-phrasing

Targets 15

$.info
$.paths['/product_families/{product_family_id}/coupons.json'].get
$.paths['/product_families/{product_family_id}/coupons.json'].post
$.paths['/coupons/find.json'].get
$.paths['/product_families/{product_family_id}/coupons/{coupon_id}.json'].get
$.paths['/product_families/{product_family_id}/coupons/{coupon_id}.json'].put
$.paths['/product_families/{product_family_id}/coupons/{coupon_id}.json'].delete
$.paths['/coupons.json'].get
$.paths['/product_families/{product_family_id}/coupons/{coupon_id}/usage.json'].get
$.paths['/coupons/validate.json'].get
$.paths['/coupons/{coupon_id}/currency_prices.json'].put
$.paths['/coupons/{coupon_id}/codes.json'].get
$.paths['/coupons/{coupon_id}/codes.json'].put
$.paths['/coupons/{coupon_id}/codes.json'].post
$.paths['/coupons/{coupon_id}/codes/{subcode}.json'].delete

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 Maxio Coupons API
  version: 1.0.0
extends: openapi/maxio-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: 14
- target: $.paths['/product_families/{product_family_id}/coupons.json'].get
  update:
    x-apievangelist-phrasing:
      intent: List coupons for a product family
      effect: read
      questions:
      - Which coupons are available in a particular product family?
      - Can I see a product family's coupons in a specific currency?
      instructions:
      - text: List coupons for product family {product_family_id}.
        slots:
          product_family_id: path.product_family_id
      - text: Show {per_page} coupons in product family {product_family_id} matching {filter}.
        slots:
          per_page: query.per_page
          product_family_id: path.product_family_id
          filter: query.filter
      method: generated
      generated: '2026-11-21'
- target: $.paths['/product_families/{product_family_id}/coupons.json'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a coupon in a product family
      effect: write
      questions:
      - How do I create a coupon that gives a flat discount on a product family?
      - Can I make a new coupon apply only to certain products or components?
      instructions:
      - text: Create coupon {coupon} in product family {product_family_id}.
        slots:
          coupon: requestBody.coupon
          product_family_id: path.product_family_id
      - text: Create a coupon in product family {product_family_id} restricted to products {restricted_products}.
        slots:
          product_family_id: path.product_family_id
          restricted_products: requestBody.restricted_products
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupons/find.json'].get
  update:
    x-apievangelist-phrasing:
      intent: Find a coupon by its code
      effect: read
      questions:
      - Is a given coupon code valid across the site?
      - Can I look up a coupon by its code without knowing its product family?
      instructions:
      - text: Find coupon {code}.
        slots:
          code: query.code
      - text: Find coupon {code} in product family {product_family_id}.
        slots:
          code: query.code
          product_family_id: query.product_family_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/product_families/{product_family_id}/coupons/{coupon_id}.json'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a coupon by ID
      effect: read
      questions:
      - What are the details of a specific coupon?
      - Can I fetch a coupon's pricing in every currency?
      instructions:
      - text: Get coupon {coupon_id} in product family {product_family_id}.
        slots:
          coupon_id: path.coupon_id
          product_family_id: path.product_family_id
      - text: Show coupon {coupon_id} in {product_family_id} with currency prices.
        slots:
          coupon_id: path.coupon_id
          product_family_id: path.product_family_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/product_families/{product_family_id}/coupons/{coupon_id}.json'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a coupon
      effect: write
      questions:
      - How do I change the amount or percentage of an existing coupon?
      - Can I restrict a coupon to only apply to certain products?
      instructions:
      - text: Update coupon {coupon_id} in product family {product_family_id} with {coupon}.
        slots:
          coupon_id: path.coupon_id
          product_family_id: path.product_family_id
          coupon: requestBody.coupon
      - text: Restrict coupon {coupon_id} in {product_family_id} to products {restricted_products}.
        slots:
          coupon_id: path.coupon_id
          product_family_id: path.product_family_id
          restricted_products: requestBody.restricted_products
      method: generated
      generated: '2026-11-21'
- target: $.paths['/product_families/{product_family_id}/coupons/{coupon_id}.json'].delete
  update:
    x-apievangelist-phrasing:
      intent: Archive a coupon
      effect: destructive
      questions:
      - How do I stop a coupon from being used on new subscriptions?
      - Does archiving a coupon remove it from existing subscriptions?
      instructions:
      - text: Archive coupon {coupon_id} in product family {product_family_id}.
        slots:
          coupon_id: path.coupon_id
          product_family_id: path.product_family_id
      - text: Retire coupon {coupon_id} so it can't be used on new subscriptions.
        slots:
          coupon_id: path.coupon_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupons.json'].get
  update:
    x-apievangelist-phrasing:
      intent: List all coupons in a site
      effect: read
      questions:
      - What coupons exist site-wide?
      - Can I filter the site's coupons by code?
      instructions:
      - text: List all coupons on the site.
      - text: Show site-wide coupons matching {filter}.
        slots:
          filter: query.filter
      method: generated
      generated: '2026-11-21'
- target: $.paths['/product_families/{product_family_id}/coupons/{coupon_id}/usage.json'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a coupon's usage per product
      effect: read
      questions:
      - How many times has each product used a given coupon?
      - Can I see a coupon's usage broken down by product?
      instructions:
      - text: Show usage details for coupon {coupon_id} in product family {product_family_id}.
        slots:
          coupon_id: path.coupon_id
          product_family_id: path.product_family_id
      - text: List how many times each product in {product_family_id} has used coupon {coupon_id}.
        slots:
          product_family_id: path.product_family_id
          coupon_id: path.coupon_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupons/validate.json'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a coupon code is valid
      effect: read
      questions:
      - Is a customer-entered coupon code valid?
      - Can I validate a coupon code against a specific product family?
      instructions:
      - text: Validate coupon code {code}.
        slots:
          code: query.code
      - text: Check that {code} is a valid coupon in product family {product_family_id}.
        slots:
          code: query.code
          product_family_id: query.product_family_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_id}/currency_prices.json'].put
  update:
    x-apievangelist-phrasing:
      intent: Set a coupon's prices in other currencies
      effect: write
      questions:
      - How do I add prices for a coupon in currencies other than the primary one?
      - Can I change a coupon's multi-currency prices in one request?
      instructions:
      - text: Set currency prices {currency_prices} on coupon {coupon_id}.
        slots:
          currency_prices: requestBody.currency_prices
          coupon_id: path.coupon_id
      - text: Update coupon {coupon_id} with prices {currency_prices} in each currency.
        slots:
          coupon_id: path.coupon_id
          currency_prices: requestBody.currency_prices
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_id}/codes.json'].get
  update:
    x-apievangelist-phrasing:
      intent: List a coupon's subcodes
      effect: read
      questions:
      - What subcodes are attached to a coupon?
      - Can I page through a coupon's subcodes?
      instructions:
      - text: List the subcodes of coupon {coupon_id}.
        slots:
          coupon_id: path.coupon_id
      - text: Show page {page} of subcodes for coupon {coupon_id}, {per_page} per page.
        slots:
          page: query.page
          coupon_id: path.coupon_id
          per_page: query.per_page
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_id}/codes.json'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a coupon's subcodes
      effect: write
      questions:
      - How do I replace all of a coupon's subcodes with a new list?
      - Does updating a coupon's subcodes delete the ones I don't send?
      instructions:
      - text: Replace the subcodes of coupon {coupon_id} with {codes}.
        slots:
          coupon_id: path.coupon_id
          codes: requestBody.codes
      - text: Overwrite every existing subcode on coupon {coupon_id} with {codes}.
        slots:
          coupon_id: path.coupon_id
          codes: requestBody.codes
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_id}/codes.json'].post
  update:
    x-apievangelist-phrasing:
      intent: Add subcodes to a coupon
      effect: write
      questions:
      - How do I generate unique subcodes for a coupon?
      - Can I add several new subcodes to a coupon at once?
      instructions:
      - text: Create subcodes {codes} for coupon {coupon_id}.
        slots:
          codes: requestBody.codes
          coupon_id: path.coupon_id
      - text: Add new subcodes to coupon {coupon_id} without touching the existing ones.
        slots:
          coupon_id: path.coupon_id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/coupons/{coupon_id}/codes/{subcode}.json'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete one subcode from a coupon
      effect: destructive
      questions:
      - How do I remove a single subcode from a coupon?
      - Can I delete a coupon subcode by its code?
      instructions:
      - text: Delete subcode {subcode} from coupon {coupon_id}.
        slots:
          subcode: path.subcode
          coupon_id: path.coupon_id
      - text: Remove the {subcode} subcode on coupon {coupon_id}.
        slots:
          subcode: path.subcode
          coupon_id: path.coupon_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/maxio-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.