get_sales_by_period
Aggregate sales trends by day, week, month, quarter, or year to analyze performance over any date range.
Instructions
Sales trend by period — day/week/month/quarter/year. Uses SMLSVC POST aggregation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toDate | No | ||
| fromDate | No | ||
| periodType | No | day | week | month | quarter | year |