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 or Bearer-authenticated; 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.

Customer accounts

MethodPathAuthDescription
POST/storefront/account/registerNoneCreate customer account
POST/storefront/account/loginNoneEmail/password → Bearer token
GET/storefront/account/meBearerCurrent customer profile
GET/storefront/account/ordersBearerOrder history
GET/storefront/account/exportBearerGDPR data export
DELETE/storefront/accountBearerGDPR erasure request

Commerce & admin

MethodPathAuthDescription
GET/storefront/productsNoneLocal catalog mirror
POST/storefront/checkoutBearerCheckout → Hub POST /orders
GET/admin/brand-kit/ordersSession + RBACBrand admin order list
GET/admin/brand-kit/team/meSession + RBACCurrent admin role

Code examples

Customer login

Storefront account login returns a Bearer token for authenticated routes.

cURL
curl -s -X POST "http://localhost:9001/storefront/account/login" \
  -H "Content-Type: application/json" \
  -d '{"email":"buyer@example.com","password":"secret"}'

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://nerion.syntrik.io)
  • 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