In this section we will see how to manage data about the cancellation conditions of your properties.
Understanding the conditions
In the BookingBnb system, Cancellation conditions are not linked to Payment conditions and don't have any limits. This means that you are free to create your own conditions and apply them to each unit, during your preferred periods.
The following table shows you some examples to better understand how to create your custom conditions.
Guests can cancel for free from the moment of booking till 30 days before the arrival date, then the host charges 100% of the accommodation price (any additional services are not included).
Guests can cancel for free from the moment of booking till 60 days before the arrival date, then the host charges 50% of the accommodation price. If guests cancel within 7 days before the arrival date, the host charges the entire amount.
The host charges 30% of the accommodation price at the moment of booking. Then, he charges 50% (so another 20%) within 30 days before the arrival date. If guests cancel within 14 days before the arrival date, the host charges the entire amount.
The arguments user and password are the credentials that a partner uses to enter the BookingBnb Control Panel.
The argument token is the one our partners acquire when they register to our system.
The argument propertyID is the identification number of the current property. To retrieve this ID, use the BookingBnb function GetProperties.
Here is an example of how your code should be:
This function returns the list of conditions identified by a ID. The conditions are represented by a <tag>value</tag> structure. This is an example:
Please, note that each condition can have more restrictions and they are grouped under the same parameter restrictions.