Get sales summary
get_sales_summaryRetrieve a period's sales summary with gross and net sales, refunds, discounts, taxes, and payment totals by sale type; returns no rows for periods without sales.
Instructions
Sales summary for a period: sales, refunds, discounts, taxes and payments by type.
Reads Reports > Sales summary for the days given: one row per sale type (services, products, memberships, gift cards and so on) with Fresha's own columns (gross and net sales, discounts, refunds, taxes) and a totals row. columns names each key. A period without sales has no rows. Amounts are in the business's currency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day. Default: same as from. | |
| from | Yes | First day. |