get_sales_report
Retrieve sales reports for any period, including totals for sales, orders, items, tax, shipping, refunds, and daily/weekly breakdowns.
Instructions
Get sales report for a period. Returns total sales, orders, items, tax, shipping, refunds, and daily/weekly totals breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Comma-separated fields to return (default: total_sales,net_sales,average_sales,total_orders,total_items,total_tax,total_shipping,total_refunds,total_discount,totals_grouped_by,totals,total_customers) | |
| period | No | Predefined period | |
| date_max | No | End date (YYYY-MM-DD) | |
| date_min | No | Start date (YYYY-MM-DD) |