龙虾开放平台(通用版)
    • 欢迎语
    • 快速开始
      • 接入流程
      • 公共请求头
      • 注意事项
      • 速率限制与配额策略
      • 鉴权说明
      • 错误码
    • 机票
      • 机票接口说明
      • 机场搜索
      • 创建机票订单
      • 机票验价
      • 机票查询列表
    • 酒店
      • 酒店接口说明
      • 酒店查询列表
      • 酒店房型详情
      • 创建酒店订单
    • 数据模型
      • response.Response
      • schema.AirportSearchResponse
      • schema.FlightOrderCreateRequest
      • schema.FlightOrderCreateResponse
      • schema.FlightPricingRequest
      • schema.FlightPricingResponse
      • schema.FlightSearchResponse
      • schema.HotelOrderCreateRequest
      • schema.HotelOrderCreateResponse
      • schema.HotelRoomsRequest
      • schema.HotelRoomsResponse
      • schema.HotelSearchRequest
      • schema.HotelSearchResponse
      • schema.AirportItem
      • schema.ContactInfo
      • schema.InvoiceAddress
      • schema.PassengerInfo
      • schema.PassengerFareItem
      • schema.FlightItem
      • schema.GuestInfo
      • schema.RoomType
      • schema.HotelSearchFilters
      • schema.HotelItem
      • schema.PageInfo
      • schema.CabinFareItem
      • schema.RoomTypeProduct

    schema.FlightOrderCreateRequest

    {
        "approval_id": "OA-998877",
        "callback_url": "https://merchant.com/callback",
        "contact": {
            "email": "zhangsan@example.com",
            "name": "张三",
            "phone": "13800138000"
        },
        "cost_center": "SALES-HZ",
        "external_user_id": "E123456",
        "external_user_name": "张三",
        "invoice_address": {
            "city": "杭州市",
            "detail_address": "文三路XX号",
            "district": "西湖区",
            "phone": "13800138000",
            "province": "浙江省",
            "recipient_name": "张三"
        },
        "need_invoice": false,
        "offer_id": "eyJhbGciOiJBMjU2R0NNIi...",
        "out_trade_no": "MERCHANT_ORDER_123",
        "passengers": [
            {
                "birthday": "1990-01-01",
                "card_valid_end_date": "2030-12-31",
                "id_number": "330106199001011234",
                "id_type": "ID_CARD",
                "name": "张三",
                "name_en": "ZHANG/SAN",
                "nationality_code": "CN",
                "phone": "13800138000",
                "sex": 1,
                "type": "adult"
            }
        ],
        "pay_mode": "user_pay",
        "return_offer_id": "eyJhbGciOiJBMjU2R0NNIi..."
    }
    Built with