Discounts

The RestAPI allows you to create and update discount configurations, including adding (or removing) usable codes to the discount.

This enables external discount management, which can be used in scenarios such as:

  • Registering promotional codes created by a 3rd party, such as those issued via email/sms marketing or on pre-printed voucher/coupon stock
  • Automation of the regular, manual bulk-upload of discount codes
๐Ÿšง

Unsupported Scenarios

Creating duplicate discount codes across several ROLLER platforms to enable multi-venue discounts is strongly discouraged due to the technical limitations it introduces. If you are interested in achieving this functionality please get in touch to register your interest.


Available discount endpoints


What discount configurations are currently supported?

Discount codes can be added or removed for any discount in your venue, however creating and updating discounts via the Rest API can only be done with certain discount configurations:

ConfigurationSupported?
Percentage discountsโœ…
Fixed amount discountsโœ…
Buy & Get discountsโŒ
Restricting booking datesโœ…
Limitations per application (sales channel)โœ…
X uses Per code limitationsโœ…
"Issue codes on purchase" discountsโŒ
Configuring discounts apply to "All products (excl. gift cards)"โœ…
Configuring discounts apply to only "gift cards"โœ…
Configuring "favorite" discountsโŒ
Configuring "employee" discountsโŒ
Restricting redemption datesโŒ
Usage limit types other than Per codeโŒ
Additional booking rulesโŒ
Setting to "Allow multiple uses of a code in the same booking"โŒ

Additional configuration detail can be found by using get discounts via our Data API.

How do I get all codes for a discount?

Use get discounts via our Data API.

๐Ÿšง

The data API is not to be used for realtime scenarios. It's recommended discounts are cached on a daily basis or called infrequently.


How do I validate codes in realtime?

Use the booking costs endpoint.


What happens when adding new codes to an existing discount?

When using update discount all codes are additional to existing codes - they do not replace existing codes.
Codes can only be removed via delete discount codes.

When codes are batch uploaded to a discount manually via Venue Manager, this will overwrite all existing codes.



Did this page help you?