Skip to main content

Get Walmart Dashboard Metrics

GET 

/api/walmart/dashboard

Get aggregated dashboard metrics across all Walmart integration instances.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Returns order counts, revenue metrics, and sync status per instance.

Period validation: Must be one of today, 7d, or 30d. Invalid values return a 422 error.

Sync summary: the response includes sync_summary.auto_sync.schedules with one entry per sync type — orders (300s interval), products (86400s), and inventory (900s) — each carrying interval_seconds and seconds_until_next, which the frontend uses to render the "Next auto-sync in ..." countdown. Orders/products countdowns derive from the sync cursor's last completion; inventory runs on a splayed every-15-minutes cron (ScheduleSplay::offset('walmart') minutes past each quarter-hour, currently :04/:19/:34/:49), so its countdown targets those offset boundaries.

Route name: walmart.dashboard

Request

Responses

Successful response