Create Discount Code

Discount Codes

This endpoint creates a new object. It returns a detail response containing the details of the added item.

Log in to see full request history
Form Data
integer
required

ID of the event to which this discount is associated.

string
required

Unique code for the discount.

string
required

The type of discount being applied.

float

Percentage value of the discount (if type is percentage).

float

Absolute monetary value of the discount (if type is absolute).

boolean

Indicates if the discount applies to all items.

integer

The maximum number of times this discount can be used.

integer

Minimum group size required to use this discount.

integer

Maximum number of one use per group (Eg. If this is set to 2, then the code could be used 1 time in a group of 2, 2 times in a group of 4, 3 times in a group of 6 etc.).

boolean

Whether all registrants in a group must use the same discount.

string

Additional notes or comments about the discount.

string

Custom Message to be displayed when set, else will use default.

Responses

Language
Credentials
access_token
URL