National Commerce Docs
Feature guides

Dashboard

Headline fulfillment statistics: revenue, orders, units, and shipping cost.

The Dashboard shows how your fulfillment is performing. Its Statistics tab answers questions like "How much did we ship?" and "What did shipping cost?" at a glance. Its Product Statistics tab answers the same volume question for one or more Product SKUs treated as a single product.

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 limits the view to one account.
  • Store limits the view to one sales channel.
  • Category limits the view to one product category. You can also include uncategorized products.
  • Date range sets the period you want to study.
  • Refresh reloads 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.

Product Statistics

You reach this screen at Dashboard → Product Statistics, or by selecting a Product SKU on the Products list or product detail screen.

Build one group by selecting one or more Product SKUs. The group exists only for the current session and reports the selected SKUs together as one product. Account, Store, Category, and Date Range filters apply to every value.

Three cards show total units shipped, the top store, and the top warehouse. The units card includes comparisons with the previous equivalent period and the same window 12 weeks earlier. Below the cards, an area chart shows units by day for ranges up to 31 days and by consecutive seven-day windows for longer ranges. Store and warehouse panels show units and share; each bar is scaled to the largest unit value in its panel.

Product Statistics does not save groups, compare groups, report revenue, or export its breakdowns.

On this page