curl --location 'https://us-prod.notte.cc/functions/ad990d8b-9c4a-4139-a763-b819da173ffa/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "ad990d8b-9c4a-4139-a763-b819da173ffa",
"variables": {
"property_url": "https://www.booking.com/hotel/fr/courtyard-by-marriott-paris-gare-de-lyon.html",
"property_id": "",
"checkin_date": "",
"checkout_date": "",
"adults": 2,
"children": 0,
"rooms": 1,
"currency": "USD",
"children_ages": null
}
}'
{
"error": {
"message": "<string>",
"error_code": "<string>"
},
"success": true,
"property": {
"url": "<string>",
"rooms": 0,
"adults": 0,
"images": [
"<string>"
],
"nights": 0,
"country": "<string>",
"children": 0,
"currency": "<string>",
"latitude": 0,
"policies": {
"pets": "<string>",
"groups": "<string>",
"fine_print": [
"<string>"
],
"checkin_from": "<string>",
"checkin_until": "<string>",
"checkout_from": "<string>",
"checkout_until": "<string>",
"age_restriction": "<string>",
"cancellation_terms": "<string>",
"checkin_requirements": "<string>"
},
"amenities": [
"<string>"
],
"longitude": 0,
"description": "<string>",
"postal_code": "<string>",
"property_id": "<string>",
"rating_text": "<string>",
"star_rating": 0,
"checkin_date": "<string>",
"full_address": "<string>",
"rating_score": 0,
"review_count": 0,
"checkout_date": "<string>",
"property_name": "<string>",
"available_rooms": [
{
"name": "<string>",
"room_id": "<string>",
"bed_type": "<string>",
"block_id": "<string>",
"currency": "<string>",
"room_url": "<string>",
"meal_plan": "<string>",
"max_guests": 0,
"rooms_left": 0,
"total_price": 0,
"checkout_url": "<string>",
"taxes_included": true,
"price_per_night": 0,
"room_facilities": [
"<string>"
],
"excluded_charges": [
"<string>"
],
"cancellation_type": "<string>",
"prepayment_policy": "<string>",
"cancellation_policy": "<string>",
"has_free_cancellation": true,
"excluded_taxes_and_fees": 0
}
],
"cheapest_price_per_night": 0
}
}