curl --location 'https://us-prod.notte.cc/functions/69608f5f-9247-4d53-8ad6-5188a7d4a8fd/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "69608f5f-9247-4d53-8ad6-5188a7d4a8fd",
"variables": {
"destination": "Paris, France",
"checkin_date": "",
"checkout_date": "",
"adults": 2,
"children": 0,
"rooms": 1,
"currency": "USD",
"page": 1,
"min_price": null,
"max_price": null,
"star_rating": null,
"free_cancellation": false,
"children_ages": null,
"sort_by": ""
}
}'
{
"error": {
"message": "<string>",
"error_code": "<string>"
},
"success": true,
"properties": [
{
"url": "<string>",
"city": "<string>",
"name": "<string>",
"address": "<string>",
"currency": "<string>",
"latitude": 0,
"longitude": 0,
"thumbnail": "<string>",
"booking_url": "<string>",
"is_sold_out": true,
"property_id": "<string>",
"rating_text": "<string>",
"star_rating": 0,
"total_price": 0,
"country_code": "<string>",
"rating_score": 0,
"no_prepayment": true,
"reviews_count": 0,
"available_rooms": [
{
"name": "<string>",
"room_id": "<string>",
"bed_type": "<string>",
"block_id": "<string>",
"currency": "<string>",
"room_url": "<string>",
"max_guests": 0,
"total_price": 0,
"checkout_url": "<string>",
"taxes_included": true,
"price_per_night": 0,
"has_free_cancellation": true,
"free_cancellation_until": "<string>"
}
],
"price_per_night": 0,
"display_location": "<string>",
"distance_from_center": "<string>",
"has_free_cancellation": true,
"excluded_taxes_and_fees": 0
}
],
"search_metadata": {
"page": 0,
"rooms": 0,
"adults": 0,
"nights": 0,
"children": 0,
"currency": "<string>",
"search_url": "<string>",
"destination": "<string>",
"checkin_date": "<string>",
"checkout_date": "<string>",
"total_results": 0,
"applied_filters": [
"<string>"
],
"results_per_page": 0,
"resolved_destination": "<string>"
}
}