Dashboard
Get product wise sales
Get sales count grouped by product. Analyzes products JSONB array from orders and returns count per product. Excludes System Generated orders. Supports optional date range filtering.
get/dashboard/product-wise-sales
Request
- Base URLhttps://api.findmydocument.net
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
startDatestring
Example:2026-01-01
Start date for filtering (ISO 8601 format)
endDatestring
Example:2026-01-13
End date for filtering (ISO 8601 format)
utmSourcestring
Example:google
Optional UTM source filter (exact match after TRIM). Use "notSet" for orders with no UTM source (NULL, empty, or whitespace).
Response
Product wise sales retrieved successfully
Changes
No recorded changes to this operation across all 7 revisions of this API.