Scalev API v3 is a headless commerce API for storefront, customer, and authenticated business integrations. You can use it to power catalog, cart, checkout, orders, subscriptions, digital product access, and related commerce workflows in your own app or system. This introduction covers the base URL, authentication families, response format, status codes, rate limits, and pagination model.Documentation Index
Fetch the complete documentation index at: https://docs.scalev.com/llms.txt
Use this file to discover all available pages before exploring further.
Start here
Choose an auth method
Use API keys for server-side integrations, or OAuth when you need a merchant authorization flow.
Authorize with OAuth
Connect a Scalev business account to your application with the OAuth authorization flow.
Build your integration
Create orders
Build digital or physical product orders and redirect customers to the payment page.
Receive webhooks
Subscribe to events and verify webhook requests before you process them.
Browse the API reference
Inspect endpoints, parameters, request bodies, and response schemas from the OpenAPI reference.
Read the changelog
Follow product updates and documentation changes as the API evolves.
Base URL
/v3 namespace.
Authentication
Authentication depends on the route family:Public storefront routes
Store-derived public storefront routes under/v3/stores/{store_id}/public/* require a publishable storefront API key:
unique_id as {store_id} for new Storefront API integrations. Storefront API setup is separate from hosted Storefront settings; it manages the public Store ID, publishable API keys, and allowed CORS origins.
Customer-authenticated routes
Customer routes use bearer authentication:CustomerAuthTokenResponse:
access as Authorization: Bearer <token> to /v3/stores/{store_id}/customers/me/*. Use refresh with POST /v3/stores/{store_id}/public/auth/jwt/refresh to obtain a new access token. store_unique_id is returned by some OTP verification responses.
When OTP is required, POST /v3/stores/{store_id}/public/auth/login sends the one-time code and returns { "message": "..." }; the caller should show the OTP entry step and then verify the OTP to receive tokens.
Authenticated business routes
Authenticated business routes use bearer authentication with an access token or business API key:Common Response Format
Scalev API v3 does not use the legacycode / status / data response envelope.
Single Resource Success
Single-resource success responses return the resource directly:Non-Paginated Collection Success
Paginated Collection Success
Error Response
HTTP Status Codes
The API uses standard HTTP status codes:200 OK- Successful read, update, or action request201 Created- Successful create request204 No Content- Successful request with no response body400 Bad Request- Invalid request format, parameters, or cursor401 Unauthorized- Authentication required or token is invalid403 Forbidden- Authenticated but not allowed404 Not Found- Resource not found409 Conflict- Resource conflict422 Unprocessable Entity- Validation errors429 Too Many Requests- Rate limit exceeded5xx- Unexpected server error
Rate Limiting
API requests may be rate limited. The bucket depends on how the request is authenticated:- Storefront public requests that use
X-Scalev-Storefront-Api-KeyorX-Scalev-Guest-Tokenare treated as direct browser/client traffic and use the client/IP rate limiter. - Machine-authenticated business requests (API keys and OAuth access tokens) use credential-scoped buckets: 10,000 requests per hour plus 100 requests per 10 seconds for short bursts by key or OAuth installation.
X-Ratelimit-LimitX-Ratelimit-RemainingX-Ratelimit-Reset
Pagination
Paginated/v3 endpoints use opaque cursor-based pagination.
Request Parameters
page_size- Number of items to returnnext_cursor- Cursor for the next pageprevious_cursor- Cursor for the previous page
Response Fields
data- Array of items in the current pageis_paginated- Alwaystruefor paginated responseshas_next- Whether a next page existshas_previous- Whether a previous page existsnext_cursor- Opaque cursor for the next pageprevious_cursor- Opaque cursor for the previous pagepage_size- Number of items returned per page
Support
If you encounter issues, contact the Scalev support team.This documentation may change as the Scalev API evolves.

