Discounts: campaign statistics
msg_discounts_open_api_statsRetrieve statistics for sent discount campaigns including offers sent, accepted, dates, discount amount, and cost. Analyze campaign performance to optimize future offers.
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 |
|---|---|---|---|
| dateTimeFrom | Yes | Start of the selection period, RFC3339 / ISO 8601 format (e.g. 2022-02-24T05:00:00Z). | |
| dateTimeTo | Yes | End of the selection period, RFC3339 / ISO 8601 format (e.g. 2022-03-01T12:00:00Z). |