curl --location 'https://us-prod.notte.cc/functions/b3897ce9-f6ce-419e-aba9-f6a53873fb1b/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "b3897ce9-f6ce-419e-aba9-f6a53873fb1b",
"variables": {
"query": "",
"max_price": 0,
"origin": "",
"upcoming_only": false,
"limit": 10
}
}'
{
"count": 0,
"notes": [
"<string>"
],
"trips": [
{
"id": 0,
"url": "<string>",
"slug": "<string>",
"title": "<string>",
"origin": "<string>",
"rating": {
"average": 0,
"review_count": 0
},
"pricing": {
"currency": "<string>",
"updated_at": "<string>",
"room_prices": [
{
"room_type": "<string>",
"regular_price": 0,
"discounted_price": 0
}
],
"starting_price": 0,
"regular_starting_price": 0
},
"duration": {
"days": 0,
"nights": 0
},
"image_url": "<string>",
"departures": [
{
"badge": "<string>",
"status": "<string>",
"benefit": "<string>",
"end_date": "<string>",
"promoted": true,
"start_date": "<string>"
}
],
"destination": "<string>",
"next_departure": "<string>",
"deposit_percentage": 0
}
],
"filters": {
"limit": 0,
"query": "<string>",
"origin": "<string>",
"max_price": 0,
"upcoming_only": true
},
"site_url": "<string>",
"retrieved_at": "<string>",
"catalog_count": 0,
"total_matches": 0
}