Sales report
merit_sales_reportRead-only
Sales totals for a period, grouped by invoice, customer, item or country. POST /api/v2/getsalesrep.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | Period end, yyyy-mm-dd. | |
| start_date | Yes | Period start, yyyy-mm-dd. | |
| max_results | No | Show at most this many rows (default 100, max 1000); the reply says how many there are in total. | |
| report_type | Yes | 1 = by invoices, 2 = by customers, 3 = by items, 4 = by countries, 5 = by countries (general). |