How to apply or remove TourCMS promo codes from Palisis API bookings

Blanca Castillo
Blanca Castillo
  • Updated

Where do I find it?

CONFIGURATION > SYSTEM & SETUP > Booking webhooks

5baf5141-3799-49c3-8a11-c0bae819bd8d.png

 

What does it mean?

This is an improvement to webhooks, allowing the removal of promo code discounts from TourCMS bookings (API bookings) to be overridden with the corresponding prices configured in Palisis according to the mapping without any discount applied.

 

What should I do?

You can add the additional parameter ApplyTourCMSPromo at the end of the asynchronous booking webhook URL. It can take different values:

  • ApplyTourCMSPromo=DEFAULT -> The booking in Palisis retains the TourCMS promo code applied.
  • ApplyTourCMSPromo=FULL -> The booking in Palisis retains the original TourCMS price without the promo code applied.
  • ApplyTourCMSPromo=PAID -> The booking in Palisis shows the TourCMS price after the discount, it only shows the paid amount.

For example, consider a tour in TourCMS with a set price:

71b2b6c8-a79e-48bf-a680-cb104cd8ed25.png

By adding the parameter ?ApplyTourCMSPromo=DEFAULT or ?ApplyTourCMSPromo=PAID to the end of the webhook URL:

7733ae21-2d18-478c-9cad-9a794aad8284.png

 

Then, the bookings in Palisis will display the price minus the discount applied:

49fb6d01-49e9-48f8-840b-76710e206020.png

 

However, if you add the parameter ?ApplyTourCMSPromo=FULL, the bookings will instead show the TourCMS price of 80EUR.

fc739546-dfce-49da-88ab-bd62707ab9a9.png