Developer documentation

Partner booking widgets

Embed Sip Seekers native tour booking on a partner website. Copy a snippet from the distillery portal, or build against the embed API.

  • HTML snippet
  • Publishable embed token
  • CORS-enabled JSON API

Quick start

  1. Confirm the venue is ready — portal access, native online booking, and at least one scheduled tour.
  2. Generate an embed key — distillery portal → Widgets.
  3. Choose a widget type — tour picker, browse & search, or single tour.
  4. 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-id and an embed token
  • Requires Sip Seekers native online booking

Prerequisites

Requirements before embedding
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

  1. Sign in to the distillery portal.
  2. Open Widgets.
  3. Generate an embed key if you do not already have one.
  4. Choose a widget type and copy the HTML snippet.
  5. 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.

HTML
<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.

HTML
<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}.

HTML
<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).

Widget script attributes
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

Embed API endpoints
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

POST /embed/distillery-tours/book 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?

Contact Sip Seekers hello@sipseekers.com

Stay in the loop

Join the Sip Seekers Club

Be the first to hear about exclusive distillery experiences, rare bottlings, upcoming events and insider guides across Scotland.

By signing up you agree to receive emails from Sip Seekers. You can unsubscribe at any time. See our Privacy Policy for details about how we use your information.

No spam, ever. Unsubscribe anytime.