Can I pass the selected date, time, party size, and length into booking?
Carry selections from a custom availability search into the Tiquo booking embed.
Yes. Both packages' embedServiceBooking() methods accept date, startTime, partySize, lengthMinutes, and lengthOptionId options. For example, after a visitor selects an available time:
await tiquo.embedServiceBooking('CUSTOMER_FLOW_ID', service.id, '#booking', {
date: selectedDate, // venue-local YYYY-MM-DD
startTime: selectedTime, // HH:mm on selectedDate
partySize: selectedPartySize,
});Use values from the availability response. startTime requires date. Pass a supported booking length in minutes or a configured length option ID when the customer chooses the duration. With the Hosted Package, call the method inside window.Tiquo.ready().
The flow preselects values while they remain bookable, keeps them editable, and checks availability again before booking. If a time has sold out, the customer chooses another. Ticket-quantity flows ignore partySize. Date, time, and party-size options require DOM Package 1.11.0 or newer.
See Carry the customer's choices into the booking and the Hosted JavaScript catalog API.