/forms/{slug_or_id}/coupons

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

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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
enum

The target of the coupon.

Allowed:
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.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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