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.

Base URL: https://api.shoprivet.io OpenAPI 3.0.3 JSON llms.txt Manage API keys (Dashboard)

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.

Public Storefront & Cart APIs

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.

Merchant Management API (/v1)

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.

Embeddable Catalog Widget (widget.js)

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.

OpenAPI & AI Assistant Support

Generate typed clients or feed exact request/response schemas to Cursor and other coding tools using /docs/openapi.json and /llms.txt.

Core Documentation

Framework & Platform Integration Guides