QR code statistics

Get aggregate QR code counts for the authenticated account-user's company: total, a breakdown by destination type, and a count of those created in the last 30 days. Optionally scope to a store and/or a created-at date range.

Auth: Account — authentication; base query is. The optional store_id must sit inside your own account tree. Note this route is declared before qr-codes/{id}, so stats is matched as a literal path, not an {id}.

Rate limit: No rate limit.

Request

  • Query: store_id (integer, optional) — Must be an existing location + must belong to the auth company hierarchy.
  • Query: start_date (string Y-m-d, optional) — filters created_at from this day.
  • Query: end_date (string Y-m-d, optional) — filters created_at to this day.

Response{ data. } envelope wrapping an array.

  • data.status (string) — "success".
  • data.data.total_qr_codes (int)
  • data.data.by_destination_type (object) — keyed by destination type (landing_page, review_site, custom_url) → count; only types present in the data appear.
  • data.data.recently_created (int) — created in the last 30 days.
  • data.message (string) — "QR code 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