Create a coupon

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

Unique coupon code used by customers when booking

string
enum
required

Type of discount. Accepted values: percentage, fixed_amount

Allowed:
float
required

The value of the discount. For percentage, provide decimal (e.g., 0.8 for 80%); for fixed, dollar amount.

boolean
Defaults to true

Whether the coupon applies to all services offered

service_ids
array of strings

IDs of services coupon applies to, required if applies_to_all_services is false

service_ids
boolean
Defaults to true

Whether coupon can be combined with recurring booking frequency discounts

int32

Maximum number of recurring jobs coupon applies to; null for unlimited

int32

Number of times the coupon can be redeemed; null for unlimited

date-time

Expiration date of the coupon

boolean

If true, coupon only valid for job times that take place before the expiration date

Responses

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