get
https://production-api.shoutaboutus.com/api/v1/qr-codes/template/stats
Get aggregate QR template counts for the authenticated user's company — total templates, a breakdown by template type, and a count of those created in the last 30 days. Optionally scoped by store and/or created_at date range.
Auth: Account — authentication; all aggregates cover only (own company). The optional store_id must also sit inside your own account tree.
Rate limit: No rate limit.
Request
- Query:
store_id(integer, optional) — must be an existing location and belong to the auth company (an ownership check). - Query:
start_date(stringY-m-d, optional) — the earliestcreated_atto include; swapped withend_datewhen the two are reversed. - Query:
end_date(stringY-m-d, optional) — the latestcreated_atto include.
Response — { data. } envelope wrapping the controller array:
status(string) —"success".data(object):total_templates(integer) — count matching the scope/filters.by_template_type(object) — map oftemplate_type→ count (only types present appear as keys).recently_created(integer) — count withcreated_at >= now-30 days(within the same scope).message(string) —"QR code template statistics retrieved successfully".
Errors: 422 on validation failure.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
