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 规范,我们都能满足您的需求。




您觉得这个页面有用吗?
我们该如何改进这些内容?
感谢您帮助我们改进!