DocsStorefront integration

Coming soon Kwik's public API and MCP server are coming soon. These docs are an early preview, in the beginning stages: endpoints, fields and examples are samples and will change before launch. Brands on Kwik today can ask their account manager about integrations.

Read every docs page as one Markdown file, ready to paste into ChatGPT, Claude or any AI assistant.

Storefront integration

Integrating Kwik With Your Storefront.

For a brand's developer, on a Shopify theme, a Hydrogen or headless build, or any website with its own checkout: track referrals, send the right order data, show the referring rep, and keep giveaway timers, multiplier badges and cart entry estimates in sync with Kwik.

The guides

Each page stands on its own. Each one has what you need first, copyable code, what you should see, and a short end-to-end test. Examples cover Shopify themes and Hydrogen, with a plain JavaScript path for any other website.

Your platform

TaskShopify themeHydrogen or headless ShopifyAny other website
Track share linksTurn on the Referral Attribution app embedYour code: cookie, cart attribute, every checkout pathThe copy-paste snippet, then save the code on your order
Get orders to KwikAutomaticAutomaticSend each order in the order body shape
Show the referring repAn app proxy, or a browser call if Kwik allows itA server route proxies the lookupYour own server route
Countdown timersNative Giveaway Countdown block, or Liquid plus a scriptStorefront API (needs confirmation)Schedule from your server, same script
Badges and estimatesMetafields in Liquid plus a scriptStorefront API data plus your codeRates from your server, same script

Every path ends the same way: the share code is on the order, and the order reaches Kwik. See what to send on every order for the fields.

On a Shopify theme, check the native Kwik 2.0 app blocks first: Giveaway Banner, Giveaway Countdown, the giveaway entries block, Point Tracker and ShareLink. Build your own only when the design needs it. App blocks and app embeds don't run on Hydrogen or other websites.

Labels used here

NoteMarks something useful to know, or a feature that is coming.

Needs confirmationMarks a detail that still needs confirmation from Kwik engineering. Check it with your Kwik contact before you ship.

Anything under the API reference is a preview: its URLs and fields may change before launch. The storefront guides use data that is in the store today, except where marked.