Report__coupon Report
Discount redemptions (codes and automatic discounts) and totals for the selected dates. Optional from/to (YYYY-MM-DD). Requires a signed-in staff user. Needs the `report__Analytics` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
report__couponReport(from: String, to: String): CouponReport!Discount redemptions (codes and automatic discounts) and totals for the selected dates. Optional from/to (YYYY-MM-DD). Requires a signed-in staff user. Needs the report__Analytics read permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
from?Stringto?StringReturns
- report__couponReport
byCode*discountByPeriod*totals*query Report__couponReport { report__couponReport { byCode { code discountTotal redemptionCount usesLimit } discountByPeriod { amount period } }}{ "data": { "report__couponReport": { "byCode": [ { "code": "string", "discountTotal": 10.5, "redemptionCount": 10, "usesLimit": 10 } ], "discountByPeriod": [ { "amount": 10.5, "period": "string" } ] } }}Plugin__webhook Urls QUERY
Requires a signed-in staff user. Needs the `identity__Tenant` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Report__dashboard Overview QUERY
Returns dashboard overview statistics including: - Total orders with growth percentage - Total revenue with growth percentage - Total customers with growth percentage - Total products with new additions this week Requires a signed-in staff user. Needs the `report__Analytics` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).