Rate limits by plan
Merchant /v1 endpoints allow 60 req/min on Free, 300 req/min on Premium, and 1,000 req/min on Business with X-RateLimit-* headers.
Ecommerce REST API
Skip building auth, inventory locking, digital file delivery, and multi-gateway payment normalization. Use Shoprivet public Storefront APIs in your frontend and /v1 API keys on your server.
Yes. Shoprivet provides unauthenticated /public/stores/{slug} storefront and guest cart endpoints for client UIs alongside authenticated /v1/stores/{storeId} endpoints (and an OpenAPI 3.0.3 spec) for server-side catalog, order, discount, and payment management.
Practical implementation
Read active products, categories, and payment methods without an API key, create scoped guest carts, and run idempotent checkout.
Authenticate with Authorization: Bearer shoprivet_live_... to manage stores, products, variants, categories, inventory, orders, refunds, and discounts.
Download /docs/openapi.json generated from Shoprivet Zod validation schemas to scaffold typed clients or configure AI coding assistants.
Fetch catalog + create guest cart checkout (Node/Browser)
const API = "https://api.shoprivet.io";
const { products } = await fetch(`${API}/public/stores/downtown-shop/products`).then(r => r.json());
const { credential } = await fetch(`${API}/public/stores/downtown-shop/carts`, { method: "POST" }).then(r => r.json());
await fetch(`${API}/public/stores/downtown-shop/carts/current/items`, {
method: "POST",
headers: { Authorization: `Bearer ${credential}`, "Content-Type": "application/json" },
body: JSON.stringify({ productId: products[0].id, quantity: 1 }),
});
Requirements, pricing & limits
Merchant /v1 endpoints allow 60 req/min on Free, 300 req/min on Premium, and 1,000 req/min on Business with X-RateLimit-* headers.
List endpoints accept page and limit (default 20, max 100) and return structured Zod field-level validation errors on HTTP 400.
Shoprivet handles incoming payment webhooks from Stripe, Paystack, Flutterwave, Razorpay, and PayPal. Outbound merchant webhooks are not currently supported.
Never place shoprivet_live_... keys in browser JS or NEXT_PUBLIC_/VITE_ variables; use /public routes on the client.
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