Appearance
Resources
Courts, turfs, and fields at a venue you are granted.
Auth: x-api-key. Unauthorized venueId → 404 VENUE_NOT_FOUND (same as venues).
http
GET /api/v1/partner/venues/{venueId}/resources
x-api-key: <your-api-key>json
{
"success": true,
"count": 2,
"data": [
{
"resource_id": "badminton-court-1",
"venue_id": "a0000000-0000-4000-8000-000000000001",
"resource_type": "badminton-court",
"sport_category": "racquet_sports",
"duration_minutes": 60,
"price_rupees": 500,
"operating_hours_start": "06:00",
"operating_hours_end": "22:00"
}
]
}Copy resource_id into availability and hold. Do not construct your own string.
price_rupees and operating hours are base configuration. Availability is the source of truth for a given date (dynamic pricing, blackouts, existing holds).