Maxio Coupons API

The Coupon object defines a discount, either a percentage or a fixed amount, that can be applied to a subscription to reduce the subscription's billing amount. Coupons can be restricted to a specific Product Family, limited to a date range, and configured to apply once or recur over a set duration. For more information, see [Understand Coupons](https://docs.maxio.com/billing/catalog/coupons/understand-coupons).

GitHub OpenAPI
Business capability
Discount & Promotion Management BC-440.30

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /product_families/{product_family_id}/coupons.json Create a coupon in a product family · createCoupon #
Ask an LLM
“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?”
Tell an agent
Create coupon {coupon} in product family {product_family_id}.
Create a coupon in product family {product_family_id} restricted to products {restricted_products}.
GET /product_families/{product_family_id}/coupons.json List coupons for a product family · listCouponsForProductFamily #
Ask an LLM
“Which coupons are available in a particular product family?”
“Can I see a product family's coupons in a specific currency?”
Tell an agent
List coupons for product family {product_family_id}.
Show {per_page} coupons in product family {product_family_id} matching {filter}.
GET /coupons/find.json Find a coupon by its code · findCoupon #
Ask an LLM
“Is a given coupon code valid across the site?”
“Can I look up a coupon by its code without knowing its product family?”
Tell an agent
Find coupon {code}.
Find coupon {code} in product family {product_family_id}.
GET /product_families/{product_family_id}/coupons/{coupon_id}.json Get a coupon by ID · readCoupon #
Ask an LLM
“What are the details of a specific coupon?”
“Can I fetch a coupon's pricing in every currency?”
Tell an agent
Get coupon {coupon_id} in product family {product_family_id}.
Show coupon {coupon_id} in {product_family_id} with currency prices.
PUT /product_families/{product_family_id}/coupons/{coupon_id}.json Update a coupon · updateCoupon #
Ask an LLM
“How do I change the amount or percentage of an existing coupon?”
“Can I restrict a coupon to only apply to certain products?”
Tell an agent
Update coupon {coupon_id} in product family {product_family_id} with {coupon}.
Restrict coupon {coupon_id} in {product_family_id} to products {restricted_products}.
DELETE /product_families/{product_family_id}/coupons/{coupon_id}.json Archive a coupon · archiveCoupon #
Ask an LLM
“How do I stop a coupon from being used on new subscriptions?”
“Does archiving a coupon remove it from existing subscriptions?”
Tell an agent destructive · confirm first
Archive coupon {coupon_id} in product family {product_family_id}.
Retire coupon {coupon_id} so it can't be used on new subscriptions.
GET /coupons.json List all coupons in a site · listCoupons #
Ask an LLM
“What coupons exist site-wide?”
“Can I filter the site's coupons by code?”
Tell an agent
List all coupons on the site.
Show site-wide coupons matching {filter}.
GET /product_families/{product_family_id}/coupons/{coupon_id}/usage.json Get a coupon's usage per product · readCouponUsage #
Ask an LLM
“How many times has each product used a given coupon?”
“Can I see a coupon's usage broken down by product?”
Tell an agent
Show usage details for coupon {coupon_id} in product family {product_family_id}.
List how many times each product in {product_family_id} has used coupon {coupon_id}.
GET /coupons/validate.json Check a coupon code is valid · validateCoupon #
Ask an LLM
“Is a customer-entered coupon code valid?”
“Can I validate a coupon code against a specific product family?”
Tell an agent
Validate coupon code {code}.
Check that {code} is a valid coupon in product family {product_family_id}.
PUT /coupons/{coupon_id}/currency_prices.json Set a coupon's prices in other currencies · createOrUpdateCouponCurrencyPrices #
Ask an LLM
“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?”
Tell an agent
Set currency prices {currency_prices} on coupon {coupon_id}.
Update coupon {coupon_id} with prices {currency_prices} in each currency.
POST /coupons/{coupon_id}/codes.json Add subcodes to a coupon · createCouponSubcodes #
Ask an LLM
“How do I generate unique subcodes for a coupon?”
“Can I add several new subcodes to a coupon at once?”
Tell an agent
Create subcodes {codes} for coupon {coupon_id}.
Add new subcodes to coupon {coupon_id} without touching the existing ones.
GET /coupons/{coupon_id}/codes.json List a coupon's subcodes · listCouponSubcodes #
Ask an LLM
“What subcodes are attached to a coupon?”
“Can I page through a coupon's subcodes?”
Tell an agent
List the subcodes of coupon {coupon_id}.
Show page {page} of subcodes for coupon {coupon_id}, {per_page} per page.
PUT /coupons/{coupon_id}/codes.json Replace a coupon's subcodes · updateCouponSubcodes #
Ask an LLM
“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?”
Tell an agent
Replace the subcodes of coupon {coupon_id} with {codes}.
Overwrite every existing subcode on coupon {coupon_id} with {codes}.
DELETE /coupons/{coupon_id}/codes/{subcode}.json Delete one subcode from a coupon · deleteCouponSubcode #
Ask an LLM
“How do I remove a single subcode from a coupon?”
“Can I delete a coupon subcode by its code?”
Tell an agent destructive · confirm first
Delete subcode {subcode} from coupon {coupon_id}.
Remove the {subcode} subcode on coupon {coupon_id}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/maxio:maxio-coupons-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

maxio-coupons-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Maxio Coupons API
  version: '1.0'
  contact:
    email: support@maxio.com
  description: 'Operations tagged Coupons across 2 of this provider''s published API definitions: maxio-advanced-billing-openapi31json.json, maxio-advanced-billing-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{site}.chargify.com
  description: Default Advanced Billing environment hosted in US. Valid for the majority of our customers.
  variables:
    site:
      default: subdomain
      description: The subdomain for your Advanced Billing site.
- url: https://events.chargify.com/{site}
  description: Default Advanced Billing environment hosted in US. Valid for the majority of our customers.
  variables:
    site:
      default: subdomain
      description: The subdomain for your Advanced Billing site.
- url: https://{site}.ebilling.maxio.com
  description: Advanced Billing environment hosted in EU. Use only when you requested EU hosting for your AB account.
  variables:
    site:
      default: subdomain
      description: The subdomain for your Advanced Billing site.
security:
- BasicAuth: []
tags:


# --- truncated at 32 KB (78 KB total) ---
# Full source: https://artifacts.apis.io/maxio/openapi/maxio-coupons-api-openapi.yml