Availability in travelfeed (EN)

Travel companies can track the availability of accommodations by date in the feed. When the desired booking dates are sent in the events, you can match the search period of a profile to the availability of accommodations in that search period.

Implementation of the feed

In the product feed, you need to add the field 'date_availability' per product (or accommodation). In the field you will process arrays of all possible consecutive date combinations for the next 180 days. The availability in the past will be automatically deleted by Squeezely.

Example

Accommodation X is available on 8, 9 and 10 July. In the feed this will be processed as follows:

[ { "checkin" : "2021-07-08", "nights" : 1 }, { "checkin" : "2021-07-08", "nights" : 2 }, { "checkin" : "2021-07-08", "nights" : 3 }, { "checkin" : "2021-07-09", "nights" : 1 }, { "checkin" : "2021-07-09", "nights" : 2 }, { "checkin" : "2021-07-10", "nights" : 1 }, ]

For more information: https://squeezely.tech/documentation#store-googlefeed

Implementation of events

In the desired events, such as ViewContent or Search, the following fields must be included:

checkin_date

The check-in date of the profile. Send checkout_date OR amount_nights in combination with this field. The format of the field is: yyyy-mm-dd.

checkout_date

The checkout date of the profile. Send this field in combination with checkin_date OR send amount_nights. The format of the field is: yyyy-mm-dd.

amount_nights

The number of nights the profile wants to stay. Send this field in combination with checkin_date OR send checkout_date. The format of the field is: yyyy-mm-dd.

Productset Travel recommended

Based on the above implementation you can use the following product set in Squeezely:

Â