Shop Visitors
1 min
GET
https://tnapi.ticketpay.de/exports/shop_visitors
Query Parameters
- event_idintegerDescription
Header Parameters
- AuthorizationstringrequiredDescription
Responses
200
- get_shop_visitors
- totalintegerExample
- pageintegerExample
- sizeintegerExample
- dataobject[]
- idintegerExample
- event_idintegerExample
- todayintegerExample
- yesterdayintegerExample
- seven_daysintegerExample
- thirty_daysintegerExample
- ninety_daysintegerExample
- totalintegerExample
- created_isostringExample
- updated_isostringExample
401
- not_authorized
- messagestringExample
curl
curl --request GET \
--url https://tnapi.ticketpay.de/exports/shop_visitors \
--header 'accept: application/json' \
--header 'authorization: string'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
myHeaders.append("authorization", "string");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://tnapi.ticketpay.de/exports/shop_visitors", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://tnapi.ticketpay.de/exports/shop_visitors")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
request["authorization"] = "string"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://tnapi.ticketpay.de/exports/shop_visitors"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json',
'authorization': 'string'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// Response for get shop visitors.
{
"total": 2,
"page": 1,
"size": 2,
"data": [
{
"id": 4701,
"event_id": 125014,
"today": 12,
"yesterday": 83,
"seven_days": 258,
"thirty_days": 712,
"ninety_days": 712,
"total": 712,
"created_iso": "2026-04-01T10:00:10+02:00",
"updated_iso": "2026-07-08T10:00:10+02:00"
}
]
}401
// Response for a failed authentification.
{
"message": "Unauthorized"
}