管理預訂概覽
管理預訂 API 可讓您檢索現有行程的詳細信息
您將使用管理預訂 API 來查找有關已建立的預訂的詳細資訊。
管理預訂
每次成功的創建預訂響應中都會返回一個行程檢索鏈接,而檢索預訂響應中則會返回一個取消預訂的鏈接。
範例請求
GET https://api.ean.com/v2/itineraries/9030336886597/car
範例回應
{
"itinerary_id": "9015232204253",
"status": "BOOKED",
"confirmation_id": "wnoujinwp5erg45w6few36",
"email": "example@expedia.com",
"phone": {
"country_code": "1",
"area_code": "487",
"number": "5550077"
},
"billing_contact": {
"given_name": "John",
"family_name": "Doe",
"address": {
"line_1": "3150 S 160th Street",
"line_2": "Line 2",
"line_3": "Line 3",
"city": "Seattle",
"state_province_code": "WA",
"postal_code": "98188",
"country_code": "USA"
}
},
"creation_time": "2018-02-12T11:59:00.000Z",
"car_details": {
"locations": {
"pickup": {
"name": "Shuttle to counter and car",
"description": "Free shuttle to the rental car counter and car located off the airport.",
"address": {
"line_1": "7135 Gilespie Street",
"line_2": "",
"city": "Las Vegas",
"state_province_name": "Nevada",
"postal_code": "89119",
"country_code": "US"
},
"coordinates": {
"latitude": 36.060312,
"longitude": -115.163381
},
"type": "airport",
"airport_code": "LAS",
"vendor": "Avis",
"hours_of_operation": [
{
"start_time": "2026-02-12T00:00:00",
"end_time": "2026-02-12T23:59:59"
}
]
},
"dropoff": {
"name": "Shuttle to counter and car",
"description": "Free shuttle to the rental car counter and car located off the airport.",
"address": {
"line_1": "7135 Gilespie Street",
"line_2": "",
"city": "Las Vegas",
"state_province_name": "Nevada",
"postal_code": "89119",
"country_code": "US"
},
"coordinates": {
"latitude": 36.060312,
"longitude": -115.163381
},
"type": "airport",
"airport_code": "LAS",
"vendor": "Avis",
"hours_of_operation": [
{
"start_time": "2026-02-14T00:00:00",
"end_time": "2026-02-14T23:59:59"
}
]
}
},
"vendor": {
"id": "ZI",
"name": "Avis",
"image": {
"caption": "Avis Rental Company",
"links": {
"vendor_image": {
"method": "GET",
"href": "https://mediaim.expedia.com/cars/logos/ZI.png"
}
}
}
},
"description": "Toyota Rav4 or similar",
"pickup_time": "2026-02-12T10:00:00",
"dropoff_time": "2026-02-14T18:00:00",
"number_of_passengers": 5,
"number_of_doors": {
"min": 5,
"max": 5
},
"acriss_code": "IFAR",
"mileage_tracking": "Unlimited mileage",
"luggage_count": {
"small": 1,
"large": 3
},
"fuel_level": "full_to_full",
"image": {
"caption": "Midsize SUV",
"links": {
"default": {
"method": "GET",
"href": "https://mediaim.expedia.com/cars/41/2b666343-bcd5-414e-a94f-a7bd62ca2f1e.jpg?impolicy=resizecrop&ra=fit&rh=165&rw=165"
}
}
},
"policies": [
{
"name": "Fuel: full to full",
"descriptions": [],
"policy_statements": [
{
"statement": "Fuel: full to full",
"statement_condition": "Vehicle to be returned with the same amount of fuel as start of the trip to avoid refuelling charges."
}
],
"policy_type": "PRODUCT_USE_POLICY"
},
{
"name": "Unlimited mileage",
"descriptions": [],
"policy_statements": [
{
"statement": "Unlimited mileage",
"statement_condition": "Drive unlimited distance with this car at no extra cost."
}
],
"policy_type": "PRODUCT_USE_POLICY"
},
{
"name": "Free cancellation",
"descriptions": [],
"policy_statements": [
{
"statement": "Free cancellation",
"statement_condition": "Before Thu, Feb 12, 4:00am"
}
],
"policy_type": "CANCELLATION_POLICY"
},
{
"name": "Free cancellation",
"descriptions": [
"Free cancellation up to 6 hours before pick-up",
"There will be no refund in case of cancellations made after that or no-shows.",
"Get 100% refund of Collision Damage Plan cost if canceled before the scheduled pick-up time. This insurance will be canceled automatically with your rental car cancellation."
],
"policy_statements": [
{
"statement": "Lock in this price today, cancel free of charge up to 6 hours before pick-up to get 100% refund. Cancellations within 6 hours of pick-up or no shows will not be eligible for a refund.",
"statement_condition": ""
}
],
"policy_type": "PRODUCT_USE_POLICY"
},
{
"name": "Online check-in",
"descriptions": [],
"policy_statements": [
{
"statement": "",
"statement_condition": "You will receive an Email/SMS from Avis to check-in online. You will need to provide driver details like driving license, etc."
}
],
"policy_type": "CHECKIN_POLICY"
},
{
"name": "Pay now",
"descriptions": [],
"policy_statements": [],
"policy_type": "PAYMENT_POLICY"
},
{
"name": "Refundable deposit payable at counter",
"descriptions": [],
"policy_statements": [
{
"statement": "Refundable deposit payable at counter",
"statement_condition": "$250.00"
},
{
"statement": "Refundable security deposit",
"statement_condition": "A refundable security deposit of $250.00 will be held on your credit card at the time of pick-up. This amount is refundable and will be automatically released if there is no theft or damage during the rental period."
}
],
"policy_type": "PRODUCT_USE_POLICY"
},
{
"name": "Zero Excess Damage Protection",
"descriptions": [
"Zero Excess Damage Protection",
"Excess: Up to £0 payable in case of damage and theft",
"Hassle-free claim process",
"Lower refundable security deposit of $250.00 payable on pick-up",
"",
"Your rental price includes Zero Excess Damage Protection that reduces excess amount to £0.",
"In case of an accident or event which causes damage to the car, excess is the maximum amount that you must pay from your own pocket for damage to the car's bodywork.",
"Example",
"If the claim was £5,000, the traveller pays £0.",
"What is covered",
"Excess: Up to £0 payable in case of damage and theft",
"Damage protection for car's bodywork",
"Theft protection",
"Hassle-free claim process",
"Lower refundable security deposit of $250.00 payable on pick-up",
"What is not covered",
"Excludes damage or loss to tyres, windscreen, glass and undercarriage"
],
"policy_statements": [
{
"statement": "Zero Excess Damage Protection",
"statement_condition": "included"
}
],
"policy_type": "PRODUCT_USE_POLICY"
}
],
"optional_extras": [],
"rate": {
"merchant_of_record": "expedia",
"pricing": {
"daily_rate": {
"billable_currency": {
"value": "62.19",
"currency": "USD"
},
"request_currency": {
"value": "62.19",
"currency": "USD"
}
},
"totals": {
"inclusive": {
"billable_currency": {
"value": "186.59",
"currency": "USD"
},
"request_currency": {
"value": "186.59",
"currency": "USD"
}
},
"exclusive": {
"billable_currency": {
"value": "186.59",
"currency": "USD"
},
"request_currency": {
"value": "186.59",
"currency": "USD"
}
},
"due_at_booking": {
"billable_currency": {
"value": "186.59",
"currency": "USD"
},
"request_currency": {
"value": "186.59",
"currency": "USD"
}
}
}
}
},
"cancel_penalties": [
{
"currency": "USD",
"amount": "0.00"
}
]
},
"primary_driver": {
"given_name": "John",
"middle_name": "George",
"family_name": "Doe",
"phone": {
"country_code": "1",
"area_code": "487",
"number": "5550077"
},
"email": "john@website.com"
},
"flight_details": {
"air_carrier_code": "G4",
"flight_number": 778
},
"traveler_loyalty_member_id": "ABD123",
"affiliate_metadata": "data_point_1:123|data_point2:This is data.",
"affiliate_reference_id": "4480ABC",
"links": {
"cancel": {
"method": "DELETE",
"href": "https://api.ean.com/v2/itineraries/8999989898988/car"
}
}
}
若要對預訂的詳細資訊 (例如租客姓名) 進行硬性更改,您需要取消並重新預訂或聯絡支援人員為您處理。 若要擷取測試預訂,請參閱我們的測試請求文件。
API 詳細資料
探索此頁面上的預訂管理端點定義,然後使用 API Explorer 或其他測試軟體來了解範例和模式定義與實際輸出的比較。
其他資源
無論您是想嘗試所有 Rapid Car API 端點還是下載其 OpenAPI 規範,我們都能滿足您的需求。