Developer Documentation
Build commerce with Shoprivet.
Use Shoprivet as an embeddable shopping cart widget, a hosted online storefront, or a headless ecommerce backend powered by the public Storefront API and server-side /v1 Merchant API.
How the Shoprivet developer surface is organized
Shoprivet cleanly separates public buyer-facing endpoints from privileged merchant API key operations so custom frontends never risk exposing store secrets in client bundles.
Unauthenticated read endpoints (GET /public/stores/:slug/products) plus scoped guest cart credentials (POST /public/stores/:slug/carts) and order lookup tokens safe for browsers, static HTML, and mobile clients.
Authenticated endpoints (Authorization: Bearer shoprivet_live_...) for stores, products, variants, categories, inventory, orders, refunds, payment gateways, discounts, custom domains, and analytics. Keep keys server-side only.
Drop-in HTML container <div data-shoprivet="your-slug"></div> plus async script for Webflow, Framer, Squarespace, WordPress, or plain HTML without building a custom cart UI.
Generate typed clients or feed exact request/response schemas to Cursor and other coding tools using /docs/openapi.json and /llms.txt.
Core Documentation
Create a store, configure a payment gateway, and run your first widget embed or guest cart checkout.
Authentication, Rate Limits & ErrorsReview public vs merchant bearer tokens, plan rate limits (60/300/1,000 req/min), pagination, and error schemas.
REST API ReferenceBrowse verified endpoints and copy curl/JavaScript examples shared directly with the merchant console.
OpenAPI 3.0.3 SpecificationMachine-readable JSON contract compiled directly from Shoprivet backend Zod validators.
Framework & Platform Integration Guides
Step-by-step guide to building an SSR Next.js App Router storefront with Shoprivet public catalog APIs, guest carts, and server-side order sync.
React 18+ / 19+ (Vite or SPA)Integrate Shoprivet public catalog, guest cart, and payment verification APIs into a React single-page application without leaking merchant secrets.
Plain HTML / Vanilla JavaScriptEmbed a working product catalog, shopping cart, and checkout into any plain HTML or static website using two lines of HTML.
Vue 3 / Nuxt 3Fetch Shoprivet products, create guest shopping carts, and complete checkout flows in Vue 3 or Nuxt applications.
Astro 4+ / 5+Keep Astro fast with build-time or SSR product pages from Shoprivet plus lightweight widget embeds or client-side cart islands.
WebflowAdd a responsive product catalog, shopping cart, and multi-gateway checkout to Webflow using an Embed element without Webflow Ecommerce limits.
FramerAdd a working shopping cart, product catalog, and checkout to Framer websites using Framer Embed blocks without rebuilding in another platform.
Lovable / Bolt / v0 / Replit / CursorWire up real shopping carts, inventory, digital downloads, and payment gateways on AI-generated websites without building a custom backend.
