Actions32
- Analytics Actions
- Batch Actions
- Customer Actions
- Order Actions
- Product Actions
- Purchase Actions
- Raw Request Actions
- System Actions
- Vendor Actions
- WhatsApp Actions
Analytics → Sync Woo Dashboard
AI-generatedSummary
Triggers a WooCommerce dashboard analytics sync on the VitePOS site by POSTing to the vtpl/v1 analytics/sync-woo-dashboard endpoint, scoped by date range, period and optional filters.
Inputs
- range — Preset date range (today, yesterday, last 7/30 days, this/last month, this/last year, or custom). Default: this month. Sent as the
rangequery parameter. - period — Grouping period: day, week, month or year. Default: day. Sent as
period. - analyticsFilters — Optional collection sent as query parameters: category_id, customer_id, date_from/date_to (trimmed to YYYY-MM-DD, used with Custom Dates), group_by, include_orders, include_returns (booleans sent as 1/0), limit, month (e.g. 2026-06), order, order_statuses (e.g. wc-processing,wc-completed), product_id, sort. Only filled values are sent.
Output shape
One JSON object per input item: the API response fields plus a response summary string, such as "Woo dashboard sync completed via summary.scanned, summary.synced and summary.failed in the API reply.
If the API returns status/success false,
responseholds the API's message. If the API response is not an object or already has aresponsekey, it is returned underraw. With Continue On Fail enabled, a failed item returns{error: message}. Parameters are sent as query string only. No request body is sent. Some summary fields depend on what the server returns.
Examples
Example 1: Refresh the Woo dashboard for the current month
Range = This Month, Period = Day, no filters.
Example 2: Resync a specific past window using only completed orders
Range = Custom Dates; Analytics Filters: Date From 2026-05-01, Date To 2026-05-31, Order Statuses = wc-completed.