Employee sales
hub_get_employee_salesSales per staff member for a date range — Reports → Employee Sales. Answers 'who is my best seller', 'how much did Maria sell', 'who took the most refunds', 'average ticket per employee'. One row per employee with orders, gross sales, refunds, tips and average transaction. Staff lists are short, so ranking is safe: pull the rows and sort them yourself rather than asking the merchant to narrow down. Pass employeeId to get a single person. For the actual orders one person rang up, use get_employee_orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, default 1 | |
| endDate | Yes | End of the window, ISO 8601. Inclusive of the day when a bare date is given | |
| outlets | No | Outlet ids to restrict to. Omit for all outlets | |
| pageSize | No | Rows per page, default 50 | |
| stations | No | Station ids to restrict to. Omit for all stations | |
| startDate | Yes | Start of the window, ISO 8601, e.g. "2026-08-01" or "2026-08-01T00:00:00Z" | |
| employeeId | No | Restrict to one employee, by id from a previous call |