Returns a list of sales performance figures per outlet.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Requires the Sales module or the Inventory module, and Insights Hub access for the user.
Period boundaries
net_sales is counted in whole days: start_datetime and end_datetime are truncated to dates, rather than used as the boundary timestamps that drive the inventory figures.
- The start day is left out entirely if the outlet closed a full count on it. The count is treated as end-of-day, so the day belongs to the previous period.
- The end day is always included in full, whether or not a full count closed that day.
Calendar days are resolved in the library's timezone, not UTC. The offset you send on start_datetime does not change which day a moment falls on.
So for an outlet that counted at 14:00 on the start date, the inventory figures leave out only the movements booked before 14:00, while net_sales leaves out the entire day.
400A filter is missing or malformed.
403The library has neither the Sales nor the Inventory module, or the user lacks Insights Hub access.
