Create Coupon

This function is used to activate a coupon that is in draft status.

Body Params
int32
required

This is the Fusebill generated ID of the coupon.

string
required

This is the name of the coupon.

string

This is the created description of the coupon

string

The elibible starting date the coupon comes into effect.

string

The end date where the coupon is no longer valid.

string
enum

The current status of the coupon either Active or Retired

Allowed:
boolean

Trigger this coupon to apply to all plans.

boolean

Make this coupon only available for one use.

discounts
object

Assign discounts using discountID to attach to this coupon.

eligibilities
object

List of eligibilities

plans
object

Assign plans using planID to attach to this coupon to.

couponCodes
object

List of coupon codes.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json