Shopify App Integration
Sell ROOPON packages on your Shopify checkout. Affiliate merchants earn revenue share; ROOPON handles entries and draws. This is not the discount-partner directory program.
Who this is for
Install
- 1
Install from the Shopify App Store
Search for ROOPON Giveaways or use https://apps.shopify.com/roopon-giveaways. - 2
OAuth connect
ROOPON creates or links your merchant account from the store owner email. Accept merchant terms when prompted. - 3
Open the embedded app
Manage sync, orders, and billing inside Shopify Admin → Apps → ROOPON Giveaways, or sign in at /shopify when opened with embed params.
Product sync
Sync active ROOPON packages as Shopify products. Use them as cart upsells, checkout bumps, or standalone catalogue items. Ended giveaways are auto-drafted via the end-giveaways safety cron.
GET /api/shopify/giveaways/sync— manifest for package variantsPOST /api/shopify/products/sync— register synced product IDs
Orders & webhooks
Shopify sends order webhooks to ROOPON. Qualifying line items create entries and record revenue split (typically 40% merchant / 60% ROOPON via app billing).
/api/shopify/webhooks· Shopify HMACEdge handler: supabase/functions/shopify-webhook
Embedded app API
Used inside Shopify Admin (session token + optional ROOPON session).
/api/shopify/embedded/dashboard· Shopify session token/api/shopify/embedded/link-account· Shopify + ROOPON JWT/api/shopify/giveaways/sync· Partner session / embedOAuth
/api/shopify/auth· Public (starts OAuth)/api/shopify/auth/callback· Shopify OAuth callbackMerchant terms & billing
Revenue share and ROOPON's portion are defined in merchant terms. App billing runs through Shopify — separate from the referral-link affiliate PayPal program.
Merchant marketing page — overview, FAQ, and install CTA for store owners (not technical reference).
