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 歲以上的駕駛人可能需支付額外的強制性費用。為了讓我們的 API 能正確計算預訂費用,請在搜尋時提供駕駛員的年齡。當駕駛員的年齡超出這些範圍時,請將40 參數的預設值設為driver_age。