These docs are for v2017-01-01. Click to read the latest docs for v2021-03-10.

Create a coupon

Create a new coupon for an authorized seller

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

To create a coupon you must be logged in and authorized with a reservation role (ROLE_RESERVATION) with the seller for whom you are creating the coupon.

Body Params
string
required

The name of the coupon / campaign, something used to describe it.

string
required

One of discount or unlock

string
required

A calculation algorithm, either absolute or percentage

float
required

The amount to discount

codes
array of strings

An array of strings, each containing a unique code. These codes can be applied to a booking

codes
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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