/forms/{slug_or_id}/coupons

This endpoint creates a specific coupon on a form.
This feature is available as part of the Standard API.

Log in to see full request history

The following limits apply to coupons:

  • A maximum of 200 coupons per form.
Path Params
string
required

The form's slug, custom slug or ID.

Body Params
string
required

The coupon code.

boolean

Whether the coupon is enabled or not.

string

The target of the coupon.

number
≥ 0

The discount as an amount.

number
0 to 100

The discount as a percentage.

date-time | null

The date and time when the coupon expires.

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/html