Skip to main content
Measure paid purchases using a particular coupon during a period. Replace WELCOME20 with your coupon code. This example uses September 1, 2026 at 00:00 UTC (1788220800000) through October 1, 2026 at 00:00 UTC, exclusive (1790812800000). Replace both timestamps for your period and timezone. The request starts one millisecond earlier because the API date bounds are strict.

Request

Use the result

The report measures recorded purchases and amounts associated with the coupon. Measuring conversion or the coupon’s effect on sales also requires visit and attribution data. Orders with a missing customer still contribute to purchase and amount totals. The closedOn filter in the processing example selects completed purchases; the API date filter also returns Orders created in the period. The request has no list limit. For large reports, request shorter periods and deduplicate Orders by id. Amounts use the Platform currency. Manually registered Orders are included.