Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

field

description

id

ID of the promotion

name

Title of the promotion

code

Code to put in the booking engine

maximum

Maximum number of reservations that can use this promotion

used

Number of promotions used

price

Discount to apply to the reservation

type_price

PERCENTAGE / ABSOLUT → the price can be a discount like 10% or like 10€

base_price

STAY_PRICE / TOTAL_PRICE → the discount should apply only to the stay price or to the total price (stay + extra fees like cleaning fee, for example)

booking_date_start

The promotion can only be used during this interval of booking dates

booking_date_end

stay_date_start

The promotion can only be used during this interval of stay reservation dates

stay_date_end

weekdays

The promotion can only be used if the interval reservation dates are weekdays

weekends

The promotion can only be used if the interval reservation dates are weekends

lodgings

List of all the listings that can use this promotion.

If empty, it means that ALL listings can use it.