Integrate booking and availability features into your website
All API requests require authentication using an API key. Include your API key in the request header:
x-api-key: YOUR_API_KEYGenerate and manage your API keys in Settings → API Keys
Fetch all published products from your catalog
https://pkqbrnkloghvgkeuplan.supabase.co/functions/v1/public-api-productscategorystringFilter by category ID
product_typestringFilter by product type (tour, activity, experience, accommodation)
limitnumberMaximum number of products to return (default: 50)
curl -X GET "https://pkqbrnkloghvgkeuplan.supabase.co/functions/v1/public-api-products?limit=10" \
-H "x-api-key: YOUR_API_KEY"{
"products": [
{
"id": "uuid",
"name": "City Walking Tour",
"description": "Explore the historic downtown",
"base_price": 49.99,
"product_type": "tour",
"product_images": [],
"product_categories": {
"name": "City Tours"
}
}
]
}