API & embed integration (not a native Bolt extension)
Works immediately with any Bolt Vite, Next.js, or HTML project via standard HTTPS REST calls.
AI Website Integration · Bolt
When Bolt builds your storefront layout, pair it with Shoprivet public Storefront APIs or widget.js instead of maintaining fragile client-side cart arrays or writing payment webhook logic manually.
Point your Bolt-generated React, Next.js, or HTML frontend to Shoprivet unauthenticated /public/stores/{slug} APIs (or embed widget.js). Store secrets stay completely outside browser code.
Practical implementation
Configure products, stock limits, variants, and connected payment gateways inside Shoprivet.
Use /public/stores/:slug/products for catalogs and POST /public/stores/:slug/carts for server-backed shopping carts.
Ensure checkout redirects to checkout.authorizationUrl and confirms orders via /orders/:orderNumber/confirm.
Public checkout call inside Bolt app
const res = await fetch("https://api.shoprivet.io/public/stores/downtown-shop/carts/current/checkout", {
method: "POST",
headers: { Authorization: `Bearer ${cartToken}`, "Content-Type": "application/json" },
body: JSON.stringify({ name, email, provider: "stripe", idempotencyKey: crypto.randomUUID() }),
});
Requirements, pricing & limits
Works immediately with any Bolt Vite, Next.js, or HTML project via standard HTTPS REST calls.
Paste https://shoprivet.io/docs/openapi.json into Bolt or Cursor to keep payloads strictly typed.
Shoprivet enforces idempotencyKey on cart checkouts so retries never double-create customer orders.
Keep 100% of sales minus payment gateway fees starting on the $0/month Free plan.
Direct answers
Related documentation & solutions
Start free at $0/month
Create a store in minutes, embed a catalog on your existing site, or call our public Storefront and /v1 APIs.
Create your free store