SPC1:設定精確的搜尋參數
請新增用以記錄 pick-up 及 drop-off 兩處地點,以及租賃日期與時間的欄位,然後提交空房查詢請求。您的參數可支援依區域 (半徑與座標)、機場 (需提供機場區域 ID) 或兩者結合的方式進行搜尋。
搜尋範例
依半徑與座標
/v2/cars/availability?pickup_time=2026-02-12T10:00:00&dropoff_time=2026-02-14T18:00:00&pickup_area=10,33.9422,-118.4036&dropoff_area=10,33.9422,-118.4036&driver_age=30&country_code=US¤cy=USD&language=en-US&limit=200&sort=total_price&sales_channel=website&sales_environment=car_only&filter=refundable&filter=vendor_collect
依機場區域編號
/v2/cars/availability?pickup_time=2026-02-12T10:00:00&dropoff_time=2026-02-14T18:00:00&pickup_airport=5783884&dropoff_airport=5783884&driver_age=30&country_code=US¤cy=USD&language=en-US&limit=200&sort=recommended&sales_channel=website&sales_environment=car_only&filter=refundable&filter=expedia_collect
同時使用這兩個參數
/v2/cars/availability?pickup_time=2026-02-12T10:00:00&dropoff_time=2026-02-14T18:00:00&pickup_area=10,33.9422,-118.4036&dropoff_airport=5456204&driver_age=30&country_code=US¤cy=USD&language=en-US&limit=200&sort=total_price&sales_channel=website&sales_environment=car_only&filter=refundable&filter=vendor_collect
SPC2:記錄駕駛人的年齡
年齡未滿 30 歲或超過 70 歲的駕駛人,可能會被徵收額外的強制性費用。若駕駛人未滿 30 歲或年滿 70 歲,請記錄並傳送其實際年齡,以便 API 能正確計算任何必要的額外費用。若駕駛員年齡介於 30 至 70 歲之間,請將 40 設為driver_age 參數的預設值。