v1

latestOpenAPI 3.0.2Jammed Bookings2026-07-147540124.9 KB
Coupon Endpoints

Assign Coupon to Customer

Assign a Coupon to a Customer

Using the Coupon ID and a Customer ID, we can assign a Coupon to a Customer

This will mean that the Customer will automatically be able to use the Coupon when booking without the use of a promocode

post/coupons/{coupon_id}/assign_to_customer.json

Path parameters

coupon_idinteger required

Coupon ID to create promocode for

Headers

Authorizationstring required

Response

Promocode assigned

idinteger
codestring

The code the customer can use to redeem the promocode, they enter this code when booking.

The code is case-insensitive and must be unique

minimum_booking_valueinteger

The minimum booking value the Promocode can be used for.

If attempted for a booking below this value, the Coupon will not be applied

first_time_use_onlyboolean

If set to true, the Promocode will only be usable once per customer - applies to logged in customers only