Experiences: Sample Use Cases and Flows

This article presents possible use cases and corresponding sample flows that you can support. These examples can serve as a helpful starting point as you plan your implementation.

Showcase a Wix site's experiences

You may want to showcase and allow guests to book specialized culinary experiences available on a Wix site.

Prerequisites

The Wix user must do the following:

  • Install the Table Reservations app.
  • Configure at least 1 reservation location.
  • Ensure manual approval is disabled for online reservations at all locations. It's disabled by default.

Flow

To showcase and allow guests to book specialized culinary experiences on a Wix site, follow these steps:

  1. Call Query Experiences to get a list of available experiences.
  2. Present the experiences for the customer to choose from. Optionally, you can sort them by their tags, locations, or other properties.
  3. When the customer selects an experience, record its experienceId and reservationLocationId and direct them to a page where they can enter party size and date. Pre-fill the date with the current date, and party size with 2 as a default until the customer makes a choice.
  4. When the page initially loads, and whenever the party size or date changes, use the reservationLocationId, experienceId, party size, and date range to call Get Scheduled Time Slots in the Time Slots API.
  5. Using the information returned from Get Scheduled Time Slots, find the start dates of time slots with the status AVAILABLE and present them for the customer to choose from.
  6. When a customer selects a time slot, call Create Held Reservation in the Reservations API with the selected experienceId, reservationLocationId, date, and party size.
  7. Redirect the customer to a new page where they can enter their details and confirm their request for a reservation.
  8. When the customer confirms the request, call Reserve Reservation in the Reservations API to add the additional details to the reservation and change its status to RESERVED.
  9. Notify the customer that their reservation has been approved.
Did this help?