FastSpring Coupons API

The Coupons API from FastSpring — 3 operation(s) for coupons.

Operations 7

GET /coupons List coupon identifiers
GET /coupons/{coupon_id} Retrieve a coupon
POST /coupons/{coupon_id} Create or update a coupon
DELETE /coupons/{coupon_id} Delete a coupon
GET /coupons/{coupon_id}/codes List codes for a coupon
POST /coupons/{coupon_id}/codes Add codes to a coupon
DELETE /coupons/{coupon_id}/codes Delete all codes for a coupon

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/fastspring-coupons-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fastspring-coupons-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FastSpring Accounts Coupons API
  description: REST API for FastSpring's ecommerce / merchant-of-record platform. Covers orders, subscriptions, products, coupons, accounts (customers), sessions (checkout), invoices, quotes, returns, events (webhook history), data jobs (reports), and webhook key rotation. Authenticated via HTTP Basic credentials issued from the FastSpring App Dashboard under Integrations > API Credentials. Rate limited to 250 calls per minute per IP. Requires TLS 1.2+, UTF-8 encoding, a User-Agent header, and Content-Type application/json on writes.
  version: 1.0.0
  contact:
    name: FastSpring Developer Hub
    url: https://developer.fastspring.com
servers:
- url: https://api.fastspring.com
  description: FastSpring production API
security:
- BasicAuth: []
tags:
- name: Coupons
paths:
  /coupons:
    get:
      tags:
      - Coupons
      summary: List coupon identifiers
      responses:
        '200':
          description: Coupons
  /coupons/{coupon_id}:
    parameters:
    - $ref: '#/components/parameters/CouponId'
    get:
      tags:
      - Coupons
      summary: Retrieve a coupon
      responses:
        '200':
          description: Coupon
    post:
      tags:
      - Coupons
      summary: Create or update a coupon
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Coupon
    delete:
      tags:
      - Coupons
      summary: Delete a coupon
      responses:
        '200':
          description: Deleted
  /coupons/{coupon_id}/codes:
    parameters:
    - $ref: '#/components/parameters/CouponId'
    get:
      tags:
      - Coupons
      summary: List codes for a coupon
      responses:
        '200':
          description: Codes
    post:
      tags:
      - Coupons
      summary: Add codes to a coupon
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Updated codes
    delete:
      tags:
      - Coupons
      summary: Delete all codes for a coupon
      responses:
        '200':
          description: Deleted
components:
  parameters:
    CouponId:
      in: path
      name: coupon_id
      required: true
      schema:
        type: string
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
      description: HTTP Basic with credentials from FastSpring App Dashboard