Developer Hub
此為系統自動產生的翻譯

「管理預訂」概覽

「管理預訂」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": "2027-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 規格,我們都能滿足您的需求。





這個頁面有幫助嗎?
我們能如何改善內容?
感謝您協助我們進行改善!