Whim SDK

Getting Started

Add a Whim rental option to your product pages, right alongside your existing buy flow. Whim handles pricing, mode switching, checkout URLs, and cart management. Your page layout and buy checkout stay the same.

Built-in A/B testing

Every integration path supports A/B testing out of the box. You can test price elasticity across different price points, experiment with whether to include a setup fee, or try different discount structures — all assigned consistently per user so returning visitors always see the same variant. No extra code on your end; Whim handles assignment and tracking automatically.

Choose your integration

whim.js → For Shopify, WordPress, static HTML, and any site where you can drop in a <script> tag. Web components, JS API, and cart management. React / Next.js → For server-rendered React storefronts. Providers, hooks, and SSR with no loading flash. HTTP API → REST endpoints for product catalogs and pricing. For custom backends or direct integration.