NerionX
Log inApply
← NerionX

Guide

  • Introduction
  • Getting started

API reference

  • Hub API
  • Brand Kit API

Tools

  • CLI
OpenAPIApply as a pharmacy

Brand Kit API

Storefront checkout, customer accounts, and brand admin routes on your provisioned Spoke server.

Brand Kit API

Runs on your brand server after nerionx provision. Storefront routes are public (CORS-scoped to your storefront origin); admin routes require a Brand Kit session with RBAC roles. Checkout is the critical path — it validates the cart locally then forwards to Hub POST /orders with your brand API key server-side.

Commerce & admin

MethodPathAuthDescription
GET
/storefront/productsNoneLocal catalog mirror
POST
/storefront/checkoutNone (guest, email in body)Checkout → Hub POST /orders
GET
/admin/ordersSession + RBACBrand admin order list
GET
/admin/spoke/meSession + RBACCurrent admin role

Code examples

Storefront checkout

Brand Kit checkout forwards to Hub POST /orders after local cart validation.

cURL
curl -s -X POST "http://localhost:9001/storefront/checkout" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <customer_token>" \
  -d '{
  "items": [{ "sku_id": "SKU-001", "quantity": 1 }],
  "shipping_address": {
    "line1": "1 Main St", "city": "Zurich",
    "postal_code": "8001", "country": "CH"
  }
}'

Environment variables

  • HUB_API_URL — Hub base (https://api.nerionx.dev)
  • HUB_API_KEY — Brand live or sandbox key
  • NEXT_PUBLIC_SPOKE_BACKEND_URL — Storefront proxy target

NerionX

Pharmacy commerce platform — catalog, orders, and fulfillment on NerionX Hub.

Developers

  • Documentation
  • Getting started
  • Hub API
  • Brand Kit API
  • CLI reference
  • OpenAPI

Platform

  • Apply as a pharmacy
  • Log in
  • Home

Legal

  • Privacy Policy
  • Terms of Service
© 2026 NerionX · Privacy · Terms