Quick start
- Confirm the venue is ready — portal access, native online booking, and at least one scheduled tour.
- Generate an embed key — distillery portal → Widgets.
- Choose a widget type — tour picker, browse & search, or single tour.
- Paste the HTML on the partner page where booking should appear (HTTPS required).
Overview
The booking widget is a drop-in script for partner sites. It loads availability for one Sip Seekers venue, lets guests pick a date and time, and completes checkout in an on-page modal.
- Works on any site that can host HTML and third-party scripts
- Scoped to one venue with
data-distillery-idand an embed token - Requires Sip Seekers native online booking
Prerequisites
| Requirement | Details |
|---|---|
| Portal login | Venue exists in Sip Seekers with distillery portal access |
| Native booking | Online booking enabled for that venue |
| Tour schedules | At least one tour with date/time capacity |
| Embed key | Generated under portal Widgets |
Get embed code
- Sign in to the distillery portal.
- Open Widgets.
- Generate an embed key if you do not already have one.
- Choose a widget type and copy the HTML snippet.
- Paste the snippet into the partner page.
Widget types
Each snippet is a container div plus two scripts: the shared booking core, then the type-specific script.
Always load the core script first.
Tour picker
Compact step-by-step flow: tour → date → time → book. Best for a sidebar or booking page.
<div id="sipseekers-widget-picker"></div>
<script src="https://www.sipseekers.com/js/widget-distillery-booking-core.js"></script>
<script src="https://www.sipseekers.com/js/widget-distillery-picker.js" data-distillery-id="YOUR_DISTILLERY_ID" data-token="YOUR_EMBED_TOKEN" async></script>
Browse & search
Full-width layout with date search and expandable tour cards. Best for a dedicated tours section.
<div id="sipseekers-widget-browse"></div>
<script src="https://www.sipseekers.com/js/widget-distillery-booking-core.js"></script>
<script src="https://www.sipseekers.com/js/widget-distillery-browse.js" data-distillery-id="YOUR_DISTILLERY_ID" data-token="YOUR_EMBED_TOKEN" async></script>
Single tour
Minimal card for one tour. Set data-tour-id and use container id
sipseekers-widget-single-{tourId}.
<div id="sipseekers-widget-single-TOUR_ID"></div>
<script src="https://www.sipseekers.com/js/widget-distillery-booking-core.js"></script>
<script src="https://www.sipseekers.com/js/widget-distillery-single.js" data-distillery-id="YOUR_DISTILLERY_ID" data-token="YOUR_EMBED_TOKEN" data-tour-id="TOUR_ID" async></script>
Script attributes
Put these on the type-specific <script> tag (not the core script).
| Attribute | Required | Description |
|---|---|---|
data-distillery-id |
Yes | Numeric Sip Seekers venue id |
data-token |
Yes | Embed key from the portal |
data-tour-id |
Single only | Tour id for the single-tour widget |
async |
Recommended | Avoid blocking page paint |
Embed API
The published widgets call these endpoints automatically. Use them only for a custom UI.
Every request needs distillery and token (query for GET; body or query for POST).
Responses are JSON and allow cross-origin use from partner sites.
Base URL
https://www.sipseekers.com
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /embed/distillery-tours.json |
List bookable tours (limit, optional tour_id) |
| GET | /embed/distillery-availability.json |
Slots for a required date (ISO) |
| POST | /embed/distillery-tours/preview |
Live pricing preview |
| POST | /embed/distillery-tours/book |
Create a booking |
Book request fields
| Field | Required | Notes |
|---|---|---|
tour_id |
Yes | Target tour |
name, email |
Yes | Guest contact |
phone |
No | Optional |
booking_date |
Yes | Visit date |
start_time |
Yes | HH:MM |
guests |
Yes | Integer ≥ 1 |
discount_code, notes |
No | Optional |
Security
- The embed token is a publishable site key for one venue. It belongs in partner page HTML.
- It only authorises that venue’s native tours. Regenerating it cuts off old snippets immediately.
- Never put portal admin credentials in front-end code.
- Serve partner pages over HTTPS.
Support
Need a portal user, native booking enabled, or help placing a snippet?