Discounts: campaign statistics
msg_discounts_open_api_statsRetrieve statistics for sent discount campaigns over a period, including counts, accepted offers, dates, discount amounts, and costs, to analyze campaign performance.
Instructions
[BETA] Returns statistics for already-sent discount/special-offer campaigns over a period (stats). Read-only; sends nothing and charges nothing. For each campaign: itemId, offerSlug, send and expiration dates, the number of offers sent (count) and accepted by buyers (accepted), the discount amount, and the cost. Use it to analyze results; for eligibility checks use ..._available, and for the remaining plan balance use ..._tariff_info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTimeTo | Yes | End of the selection period, RFC3339 / ISO 8601 format (e.g. 2022-03-01T12:00:00Z). | |
| dateTimeFrom | Yes | Start of the selection period, RFC3339 / ISO 8601 format (e.g. 2022-02-24T05:00:00Z). |