Using AI coding agents like Claude Code or Cursor? Try the official Chargebee Agent Skills to speed up your development.Try now
ChargebeeAPI

Create a coupon set

Idempotency Supported

Create a coupon set with a coupon code compatible to your product offers and promotional discounts

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/coupon_sets

Input Parameters

coupon_id
required, string, max chars=100

Coupon id linked to coupon set.

name
required, string, max chars=50

Name of the coupon set.

id
required, string, max chars=50

Uniquely identifies a coupon_set.

meta_data
optional, jsonobject

A collection of key-value pairs that provides extra information about the coupon set.

Note: There's a character limit of 65,535.

Learn more .

Returns

Coupon set object
Resource object representing coupon_set