Auswertungen
Visits
/ v1 / reports / visits Visits per day or month, with one number per product.
- A browser session on the product page and its checkout counts as one visit, at most once per 30 minutes.
fromandtoare both included. Days are UTC.- Visits of the account owner and products that are not live are not counted.
- Landing pages and the shop page have no visit counter.
- There are no traffic sources and no unique visitors yet.
For orders and money, call GET /v1/orders or GET /v1/reports/revenue.
Autorisierung
-
Authorizationstring Header erforderlichBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Einführung
Query-Parameter
-
fromstringFirst day (UTC), like 2026-01-01. Default: 29 days before to.
Muster
^[0-9]{4}-[0-9]{2}-[0-9]{2}$Beispiel:"2026-10-24" -
tostringLast day (UTC). Default today. 731 days at most.
Muster
^[0-9]{4}-[0-9]{2}-[0-9]{2}$Beispiel:"2026-10-26" -
group_bystringday (default, 92 days at most) or month.
Mögliche Werte:
daymonth -
product_idintegerOnly this product (id from list_products).
min.
1
Antwort
Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.
-
fromstring<date>Like 2026-01-31.
-
tostring<date>Like 2026-01-31.
-
group_bystringHow the periods are grouped.
Mögliche Werte:
daymonth -
product_idinteger kann null seinThe product ID.
-
visitsintegerAll visits in the period.
-
periodsarray of objectEvery period, also without visits.
2 Felder anzeigen Felder ausblenden
-
periodstringLike 2026-01-31 or 2026-01.
-
visitsintegerNumber of visits.
-
-
productsarray of objectMost visits first.
3 Felder anzeigen Felder ausblenden
-
product_idintegerThe product ID.
-
titlestring kann null seinThe title.
-
visitsintegerNumber of visits.
-
-
more_productsbooleantrue = more products than this list.
-
admin_urlstring<uri>The page in the Tentary app.