This is an auto-generated translation

管理預約概覽

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





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