Product performance
get_product_performanceHeadline catalogue figures for the current period: product revenue, units sold, average order value, gross margin and how many SKUs are out of stock, each with the change against the previous period. Use first for any question about how the catalogue as a whole is doing. Gross margin comes back null when supplier costs are missing for some of the sales — say the margin is unknown rather than reporting it as zero. Optional from and to (inclusive YYYY-MM-DD, both or neither, never after today) read another span instead of the default period. A named month, a week or two dates the operator gave MUST be sent here: without them this reads the last 30 days, which is not that month.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day of the span, inclusive, as YYYY-MM-DD; not after today. Send together with `from`, or omit both to read the default 30-day period. | |
| from | No | First day of the span, inclusive, as YYYY-MM-DD. Send together with `to`, or omit both to read the default 30-day period. |