RecurringStack Coupon API

The Coupon API provides a comprehensive set of endpoints for managing promotional coupons within RecurringStack. Coupons allow you to offer discounts on your products, which can be applied by customers to new subscriptions. These endpoints cover the full lifecycle of a coupon, from creation to deletion. A core concept of the Coupon API is its direct relationship with Product Groups. Every coupon must be associated with a specific product_group_id upon creation. This means a coupon is only valid for the products contained within that group, though you can further restrict it to exclude specific products. This association cannot be changed after the coupon is created. Key Features: Create, List, Update, and Delete coupons programmatically. Define discount types as a fixed amount or a percent of the total price. Set the coupon's duration to be one-time (applied only to the first billing cycle) or forever (applied to all subsequent billings). Configure detailed settings such as expiration dates, maximum usage limits (max_use), and whether a coupon is stackable with other offers. Restrict coupon usage by excluding specific products within its assigned product group. Important: Deleting a coupon is an irreversible action. When a coupon is deleted, any active subscriptions currently benefiting from its discount will have that discount removed on their next billing cycle.

GitHub OpenAPI

Operations 4

GET /coupon/list List coupons #
POST /coupon/create Create a new coupon #
PATCH /coupon/update Update an existing coupon #
DELETE /coupon/delete Delete an existing 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/recurringstack-com:recurringstack-com-coupon-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

recurringstack-com-coupon-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RecurringStack Coupon API
  description: RecurringStack is a subscription management and business automation platform that provides APIs for customers, products, subscriptions, invoices, payments, marketing automation, account portals, reporting, support operations, and workflow automation.
  version: 1.0.0
  contact:
    name: RecurringStack Support
    url: https://recurringstack.com/docs/api
    email: support@recurringstack.com
  license:
    name: Commercial
servers:
- url: https://api.recurringstack.com
  description: Production API
security:
- X-Api-Key: []
  X-User-Key: []
  X-Brand-Id: []
tags:
- name: Coupon
  description: 'The Coupon API provides a comprehensive set of endpoints for managing promotional coupons within RecurringStack. Coupons allow you to offer discounts on your products, which can be applied by customers to new subscriptions. These endpoints cover the full lifecycle of a coupon, from creation to deletion.


    A core concept of the Coupon API is its direct relationship with Product Groups. Every coupon must be associated with a specific product_group_id upon creation. This means a coupon is only valid for the products contained within that group, though you can further restrict it to exclude specific products. This association cannot be changed after the coupon is created.


    Key Features:


    Create, List, Update, and Delete coupons programmatically.


    Define discount types as a fixed amount or a percent of the total price.


    Set the coupon''s duration to be one-time (applied only to the first billing cycle) or forever (applied to all subsequent billings).


    Configure detailed settings such as expiration dates, maximum usage limits (max_use), and whether a coupon is stackable with other offers.


    Restrict coupon usage by excluding specific products within its assigned product group.


    Important: Deleting a coupon is an irreversible action. When a coupon is deleted, any active subscriptions currently benefiting from its discount will have that discount removed on their next billing cycle.'
paths:
  /coupon/list:
    get:
      operationId: ListCoupon
      tags:
      - Coupon
      summary: List coupons
      description: List coupons connected to a product group or for the entire brand. To list a specific coupon provide a 'coupon_id'.
      responses:
        '200':
          description: Successful operation
      parameters:
      - name: coupon_id
        in: query
        required: false
        description: Provide a 'coupon_id' to list a specific coupon.
        schema:
          type: string
      - name: product_group_id
        in: query
        required: false
        description: Provide to list coupons connected to a specific product group.
        schema:
          type: string
  /coupon/create:
    post:
      operationId: CreateCoupon
      tags:
      - Coupon
      summary: Create a new coupon
      description: Create a new coupon and assign it to specific products. All coupons must be assigned to a product group, meaning they will only work with products from that group.
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                product_group_id:
                  type: string
                name:
                  type: string
                description:
                  type: string
                coupon_code:
                  type: string
                coupon_type:
                  type: string
                coupon_duration:
                  type: string
                discount_amount:
                  type: string
                expiration_date:
                  type: string
                expiration_time:
                  type: string
                stackable:
                  type: string
                restricted_products:
                  type: string
                max_use:
                  type: string
              required:
              - product_group_id
              - name
              - description
              - coupon_code
              - coupon_type
              - coupon_duration
              - discount_amount
              - expiration_date
              - expiration_time
              - stackable
  /coupon/update:
    patch:
      operationId: UpdateCoupon
      tags:
      - Coupon
      summary: Update an existing coupon
      description: Update an existing coupon.
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                coupon_id:
                  type: string
                product_group_id:
                  type: string
                name:
                  type: string
                description:
                  type: string
                coupon_code:
                  type: string
                coupon_type:
                  type: string
                coupon_duration:
                  type: string
                discount_amount:
                  type: string
                expiration_date:
                  type: string
                expiration_time:
                  type: string
                stackable:
                  type: string
                restricted_products:
                  type: string
                max_use:
                  type: string
              required:
              - coupon_id
              - product_group_id
              - name
              - description
              - coupon_code
              - coupon_type
              - coupon_duration
              - discount_amount
              - expiration_date
              - expiration_time
              - stackable
  /coupon/delete:
    delete:
      operationId: DeleteCoupon
      tags:
      - Coupon
      summary: Delete an existing coupon
      description: Delete a coupon.
      responses:
        '200':
          description: Successful operation
      parameters:
      - name: coupon_id
        in: query
        required: true
        description: The 'coupon_id' of the coupon you wish to delete.
        schema:
          type: string
components:
  securitySchemes:
    X-Api-Key:
      type: apiKey
      in: header
      name: X-Api-Key
    X-User-Key:
      type: apiKey
      in: header
      name: X-User-Key
    X-Brand-Id:
      type: apiKey
      in: header
      name: X-Brand-Id