Admin Panel Overview
The Ledgerline Admin Panel is your central hub for managing orders, customers, products, inventory, discounts, and user accounts. Everything your Discord storefront needs to run smoothly lives here.
Prerequisites
- A Ledgerline account with admin access.
- A modern web browser (Chrome, Firefox, Edge, or Safari).
Accessing the Admin Panel
Navigate to your Ledgerline instance and append /admin to the URL — for example, https://your-domain.com/admin. You will be prompted to log in if you do not already have an active session.
See Authentication & Login for details on signing in.
Navigation
The admin panel sidebar organizes resources into collapsible groups:
| Group | Resources |
|---|---|
| Users & Identity | User, Customer, Identity, Entitlement, Role, Role Assignment |
| Commerce | Order, Product, Inventory, Discount, Payment, Shipment, Address |
| Configuration | Tenant, Provider, Bot Config, Feature Flag |
| Monitoring | Alert, Audit Log, Webhook Event |
Click a group name to expand/collapse it. User Settings (theme selection, preferences) is accessible from the user dropdown in the top-right corner. The dropdown shows your display name (or username) for identification.
Key Concepts
- Tenant — Ledgerline is multi-tenant. Each Discord server (guild) maps to a tenant, and all data — orders, customers, products — is scoped to that tenant. Your admin session is always operating within a single tenant context.
- Order lifecycle — Orders move through a defined set of statuses:
PENDING_PAYMENT → PAID → FULFILLING → SHIPPED → COMPLETE. Orders can also beCANCELLEDorREFUNDED. - Inventory tracking — When enabled for a product, inventory is automatically reserved on order submission and adjusted on cancellation or refund.
Discord Bot Commands (Admin)
Admins can use /notify in Discord to send messages to all customers (DMs) or to the current channel. Requires DISCORD_BOT_TOKEN in the environment. The Discord endpoint supports slash commands (type 2), message components (type 3), and modal submits (type 5). See Discord Bot Commands and Discord API for details.
Debug Endpoint
GET /api/info returns masked deployment metadata (env, build, git) for ops verification. Internal use only; not part of admin workflows.