We've made integrating with the BeMyGuest API as simple as possible. Just follow the steps below.
- Map data from the API by writing code manually or using our SDK.
- Become familiar with the BMG data structure.
- Map locations, categories, and other dictionaries from the
/configendpoint. - Map
/productsand/products/{uuid}. - Map
/products/{uuid}/product-typesand/product-types/{uuid}. Product types are the items to be sold (SKUs). - Integrate booking options (dynamic fields on product types).
- Integrate timeslots (dynamic fields on product types).
- Map calendar availability and the pricing matrix from
/product-types/{uuid}/price-lists. - Integrate dynamic pricing. Some product types may have different pricing per date.
- Cache data on your server and refresh it according to our recommendations.
- Before creating a booking for a selected product type, check the price and availability at
/product-types/{uuid}/price-lists/{YYYY-MM-DD}. - Create a test booking on the Demo environment via the
/bookingsendpoint. - After collecting payment on your platform, confirm the booking via the
/bookings/{uuid}/confirmendpoint. - Download the PDF format vouchers to your platform via the
/bookings/{uuid}/vouchersendpoint and distribute them to your customers. - Do not share voucher URLs provided by the API. You need to be authorized to download them.
- Work with errors and their messages. While working with the API, you need to be able to handle errors returned by the endpoints flawlessly.
- When you are ready, take the Integration Test and submit the result to BMG Tech.
- Once you have passed the Integration Test, a BMG Account Manager will conduct UAT to ensure you can work with all possible product settings.
- Go live in production and start selling!