API referenceCurated `/v1` gateway surface
The reference is derived from the Hono route mounts and route modules in `services/api-gateway/src`. It lists the real route families, auth model, pagination conventions, errors, and query-cost rate limits currently implemented.
Live
Gateway Mounts
The Hono worker mounts its public and protected surface under `/v1`, with `/health` outside the API version.
services/api-gateway/src/index.tsGET /health
/v1/auth
/v1/storefront
/v1/stores
/v1/products
/v1/orders
/v1/payments
/v1/themes
/v1/app-store
/v1/operations
Live
Auth and Sessions
Merchant identity endpoints include signup, signin, OTP, password reset/update, custom session validation, and identity-platform helpers.
services/api-gateway/src/routes/auth.tsPOST /v1/auth/signup
POST /v1/auth/signin
POST /v1/auth/signin/otp
POST /v1/auth/signin/otp/verify
POST /v1/auth/signout
POST /v1/auth/password/reset
POST /v1/auth/password/update
GET /v1/auth/custom/session
Live
Commerce Admin
Store-scoped merchant APIs cover products, collections, gift cards, orders, refunds, fulfillment, customers, addresses, reviews, coupons, inventory, media, and forms.
services/api-gateway/src/routes/products.ts, orders.ts, customers.tsGET|POST /v1/products
GET|POST /v1/products/collections
GET|POST /v1/products/gift-cards
GET|POST /v1/orders
POST /v1/orders/:id/fulfill
POST /v1/orders/:id/refund
GET /v1/customers
GET|POST /v1/inventory/locations
GET /v1/form-submissions
Live
Storefront Runtime
Public storefront APIs resolve stores, products, categories, navigation, policies, checkout order creation, provider payment operations, customer accounts, wishlist, addresses, and reviews.
services/api-gateway/src/routes/storefront.tsGET /v1/storefront/lookup
GET /v1/storefront/:subdomain
GET /v1/storefront/:subdomain/products
POST /v1/storefront/:subdomain/orders
POST /v1/storefront/:subdomain/payments/razorpay/order
POST /v1/storefront/customer/login
GET|POST|PATCH|DELETE /v1/storefront/customer/addresses
Live
Theme Platform
Theme APIs cover marketplace catalog, package upload, install, editor state, draft save/delete, preview tokens, release history, rollback, purchase, and payment verification.
services/api-gateway/src/routes/themes.tsGET /v1/themes
GET /v1/themes/:slug/schema
GET /v1/themes/:slug/editor
PUT /v1/themes/:slug/editor/draft
POST /v1/themes/:slug/preview-session
POST /v1/themes/packages/upload
POST /v1/themes/:slug/install
POST /v1/themes/:slug/purchase/verify
Live
App Platform
App marketplace APIs include catalog, reviews, installation, app bridge fetch, OAuth authorization code, token exchange, developer profile, developer app submissions, and partner dashboard aggregates.
services/api-gateway/src/routes/app-store.tsGET /v1/app-store/apps
POST /v1/app-store/apps/:id/install
POST /v1/app-store/apps/:id/oauth/authorize
POST /v1/app-store/oauth/token
POST /v1/app-store/oauth/token-exchange
POST /v1/app-store/bridge/fetch
GET|POST /v1/app-store/developers/register
GET /v1/app-store/partners/dashboard
Live
Operations and Webhook Admin
Operational APIs expose outbox, webhook deliveries/subscriptions, runtime queues, replays, incidents, failover drills, load tests, certification reports, and SRE evidence.
services/api-gateway/src/routes/operations.tsGET /v1/operations/webhook-deliveries
GET|POST /v1/operations/webhook-subscriptions
GET /v1/operations/runtime/overview
GET|POST /v1/operations/runtime/replays
GET|POST /v1/operations/runtime/incidents
POST /v1/operations/runtime/failover-drills