Car search
documentedSearch car rental inventory and options.
POST /cars/searchCar rentalsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://demandapi.booking.com/3.2/cars/search" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "X-Affiliate-Id: {{BOOKING_AFFILIATE_ID}}" \
-d '{"booker": {"country": "{{$country_code}}"}, "currency": "{{$currency}}", "driver": {"age": {{$driver_age}}}, "route": {"pickup": {"datetime": "{{$pickup_datetime}}", "location": {"airport": "{{$pickup_airport}}"}}, "dropoff": {"datetime": "{{$dropoff_datetime}}", "location": {"airport": "{{$dropoff_airport}}"}}}, "maximum_results": {{$maximum_results}}, "filters": {"transmission_type": "{{$transmission_type}}", "mileage_type": "{{$mileage_type}}", "depot_location_type": "{{$depot_location_type}}"}, "payment": {"timing": "{{$payment_timing}}"} }'