Draft Example content for planning the Kwik docs. Endpoints, fields and events are placeholders until they ship.
Kwik developer docsBuild With Kwik.
Everything you need to run Kwik's reward modules on your store: what each module does, how to set it up, and the API behind it.
Start here
QuickstartInstall the pixel and make your first request.ModulesHow each reward module works and what you can set.API referenceCustomers, wallets, rewards and referral links.WebhooksGet told when customers earn, redeem and refer.
Quickstart
- Get your API key. In the Kwik vendor dashboard, open Settings, then API keys. Keep it on your server.
- Install the Kwik Pixel. Add one script to your store theme. It records first-party clicks, codes and orders.
<script async src="https://cdn.kwik.com/pixel.js" data-store="YOUR_STORE_ID"></script> - Make your first request. Read a customer's wallet.
curl https://api.kwik.com/v1/customers/cus_8f2a/wallet \ -H "Authorization: Bearer $KWIK_API_KEY" - Listen for events. Add a webhook URL to hear when customers earn, redeem and refer. See Webhooks.
How Kwik works
Customers earn rewards from the modules you turn on. Every reward lands in one place, tied to the order and the person that drove it.
- Customer
- A shopper on your store. One Kwik login holds their rewards from every brand.
- Wallet
- Where a customer's cashback, store credit and commissions live, pending or available.
- Reward
- What a customer earns: cashback, points, entries, credit or a commission.
- Program
- Your mix of modules and rules, set up for your store.
- Attribution
- How Kwik ties an order to the code, link or person that drove it, for life.
- Wave
- A referral of a referral. Waves let rewards travel past the first share.
Modules
Seven modules, one platform. Each page covers how it works, the settings, the events it sends and an example request.
GiveawaysTurn purchases and actions into sweepstakes entries.Mini CartOffer tier upgrades in the cart (standard, plus and premium) with rewards matched to each customer type.CashbackPay customers back after they buy instead of discounting up front.Loyalty PointsPoints customers can see, earn and spend.ReferralsGive your best customers a share link with its own unique code, credit every order they bring in, and reward both people with cashback, points, entries, commissions or waves..WavesRewards that ripple past the first referral: when a referred friend refers someone, the original customer earns too.Data And TrackingFirst-party tracking with the Kwik Pixel, attribution by code, link and redirect, and reporting on true lifetime value by customer, ambassador type and campaign..