Build custom storefronts with the Reynt SDK
A fully typed TypeScript client for the Customer API. Search listings, check availability, process bookings — all from your own frontend.
Getting the SDK
The TypeScript SDK is not on the public npm registry yet — tell us what you are building and we will send you the package and the docs.
Quick Start
import { createCustomerClient } from '@octabits-io/reynt-customer-sdk'
const client = createCustomerClient({
baseUrl: 'https://api.your-domain.com',
tenantId: 'your-tenant-id',
})
// Search listings
const listings = await client.listings.search({
adults: 2,
children: 1,
})
// Get listing details
const listing = await client.listings.get('listing-key')
// Check availability
const availability = await client.listings.getAvailability('listing-key')
// Process checkout
const result = await client.listings.checkout('listing-key', {
type: 'booking',
email: 'guest@example.com',
// ...
})API Reference
11 endpoint groups covering the full customer journey
| Endpoint | Methods | Description |
|---|---|---|
client.listings | search, get, getAvailability, calculatePrice, checkout | Property search, details, pricing, booking |
client.booking | get, update, getInvoicePdfUrl | Booking management |
client.contact | submit | Contact form submission |
client.tenant | getInfo | Tenant branding & config |
client.captcha | challenge, redeem | CAPTCHA verification |
client.sitemap | get | Sitemap data |
client.menus | get | Navigation menus |
client.content | getSlots | CMS content blocks |
client.pages | list, get | CMS pages |
client.blogPosts | list, get | Blog posts |
client.redirects | get | URL redirects |
Key Types
All types are exported and fully documented with JSDoc
CustomerClientMain client instance with all endpoint groups
PublicListingProperty listing with details, images, amenities
ListingsResponsePaginated search response with listings
ListingAvailabilityResponseDate-based availability calendar
ListingCheckoutRequestBooking or inquiry checkout payload
ListingCheckoutResponseCheckout result with booking reference
PublicTenantTenant branding, config, and contact info
PublicPageCMS page with content blocks
Ready to build?
Tell us what you want to build and we will get you the SDK and the docs