Dashboard
Headline fulfillment statistics — revenue, orders, units, and shipping cost.
The Dashboard shows how your fulfillment is performing. It answers questions like "How much did we ship?" and "What did shipping cost?" at a glance.
You reach it at Dashboard → Statistics. It pulls every number from the database, so it needs no ShipHero call to load.
Filters
A filter bar sits at the top. It shapes every chart and number below it.
- Brand — limit the view to one account.
- Store — limit the view to one sales channel.
- Category — limit the view to one product category. You can also include uncategorized products.
- Date range — pick the period you want to study.
- Refresh — reload every number on demand.
What the screen shows
The Dashboard stacks six sections from top to bottom.
KPI cards
Four headline numbers open the page. Each card compares the current period to the period before it.
- Revenue Shipped — total sales value you shipped.
- Orders Shipped — how many orders left the warehouse.
- Units Shipped — how many individual units left the warehouse.
- Average Order Value — revenue divided by orders.
Units Shipped overview
An area chart plots units shipped over time. It buckets by day or week based on your date range.
The section also compares the current total two ways. It looks back to the previous period, and to the same window 12 weeks earlier.
Product shipments table
This table breaks shipments down by product. You can sort it, page through it, and export it to CSV.
It shows units shipped, SKUs shipped, and the average shipping cost per SKU and per unit. Each row expands to reveal a per-store breakdown.
Orders by store (weekly)
A stacked bar chart shows weekly order volume by store. The tooltip lists each store's count and the weekly total.
Units per order (weekly)
A stacked bar chart groups weekly orders by pack size. Pack size "10" covers every order of 10 or more units.
Warehouse distribution
A bar chart splits units shipped across warehouses. Progress bars show each warehouse's share of the total.
Notes for developers
Data source
Every number comes from Supabase Postgres RPC functions, such as
get_summary_metrics_2, get_daily_shipped, and orders_test_allocation.
The filters pass into each call as parameters.
The CSV export names the file with the date range you chose. Trend arrows come
from trend-utils.ts, which compares the current period to a prior one.