API vs. embed/widget vs. URL

Post Reply
developer_infra
Posts: 2
Joined: Sat Apr 14, 2018 8:00 pm

API vs. embed/widget vs. URL

Post by developer_infra » Mon Apr 16, 2018 8:08 pm

Am I understanding it correctly that there are basically 3 ways to integrate/use the beds24 system on a webpage, i.e.
1) using the API
2) embedding the beds24 booking page and using wordpress widgets
3) using the beds24.com/booking.php with parameters

If so, wouldn't it be normal to use just one of the above methods, rather than mixing them?

Regards,
Birgir

lesleywoermeijer
Posts: 59
Joined: Wed Dec 28, 2016 2:20 pm

Re: API vs. embed/widget vs. URL

Post by lesleywoermeijer » Tue Apr 17, 2018 12:41 pm

Hello Birgir,

It is possible to use only 1 or a combination of all 3, it is your choice.

You can setup different booking widgets to be added to your website (including wordpress), you can have different booking widgets on different pages within the same website.

The API can be used to connect to external systems including your website.

developer_infra
Posts: 2
Joined: Sat Apr 14, 2018 8:00 pm

Re: API vs. embed/widget vs. URL

Post by developer_infra » Tue Apr 17, 2018 3:06 pm

I realize you can use any of the 3 methods or a mixture of them, from a technical standpoint.
But would it make sense to use the API (such as for entering dates and do availability and price checks) and then use the embeeded beds24-booking widget to perform the booking? Then you will be presented again with the check-in/check-out dates and number of guests, that you already provided (on the page using the API). In other words, if using the API, wouldn't you use it though-out the website rather than mixing it widgets usage?

Regards,
Birgir

annettemorgenroth
Posts: 884
Joined: Sun Jun 30, 2013 8:44 am

Re: API vs. embed/widget vs. URL

Post by annettemorgenroth » Wed Apr 18, 2018 5:50 pm

The widgets and the booking page will use the availability and prices which are in Beds24 regardless how they were entered.

Post Reply