Get Passtype Information
curl --request GET \
--url https://api.loyalty.dog/v2/passtypes/{passTypeIdentifier} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.loyalty.dog/v2/passtypes/{passTypeIdentifier}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.loyalty.dog/v2/passtypes/{passTypeIdentifier}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Pass Type IDs
Get Passtype Information
Fetches detailed information about a specific pass type ID associated with the current user.
- passTypeIdentifier: The unique identifier for the pass type.
- user: The authenticated user instance.
Returns
- dict: Detailed pass type information or an error message if not found.
GET
/
v2
/
passtypes
/
{passTypeIdentifier}
Get Passtype Information
curl --request GET \
--url https://api.loyalty.dog/v2/passtypes/{passTypeIdentifier} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.loyalty.dog/v2/passtypes/{passTypeIdentifier}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.loyalty.dog/v2/passtypes/{passTypeIdentifier}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}