QR template statistics

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 (string Y-m-d, optional) — the earliest created_at to include; swapped with end_date when the two are reversed.
  • Query: end_date (string Y-m-d, optional) — the latest created_at to 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 of template_type → count (only types present appear as keys).
  • recently_created (integer) — count with created_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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Response

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json