Members API
Members API
Customer-facing API for member profile, loyalty, and reservations
The Members API provides authenticated access to member-specific features.
Base URL
https://api.journey.com/membersAuthentication
All endpoints require Clerk JWT authentication:
Authorization: Bearer <CLERK_JWT_TOKEN>Core Features
Profile Management
Member details, preferences, and contacts
Loyalty & Wallet
Points, tiers, benefits, and transactions
Property Search
Discovery, filters, and availability
Reservations
Bookings, history, and management
Response Structure
{
"member": {...},
"profile": {...},
"wallet": {...},
"loyalty": {...}
}Common Patterns
Pagination
interface PaginatedRequest {
limit: number; // Max items per page
offset: number; // Skip items
}
interface PaginatedResponse<T> {
items: T[];
total: number;
limit: number;
offset: number;
}Error Handling
try {
const response = await fetch('/members/me');
if (!response.ok) {
const error = await response.json();
console.error('API Error:', error.message);
}
} catch (err) {
console.error('Network error:', err);
}