Skip to main content
GET
Retrieve coupons stats

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

coupon_id
string

To retrieve analytics stats of a particular coupon.

date_from
string<date-time>
required

start datetime

date_to
string<date-time>
required

end datetime

interval
enum<string>
required

for aggregating data

Available options:
hour,
day,
week,
month

Response

200 - application/json

OK

message
string
success
boolean
content
object