# 预订 API

{% hint style="info" %}
遇到 API 接入问题时，可登录 [Eva](https://www.atriptech.com/) 寻求帮助。
{% endhint %}

这一栏用于查看从搜索到出票的接口级细节。

### 本栏目页面

* [搜索](https://resources.atriptech.com/api-wen-dang/api-can-kao/yu-ding-api/sou-suo)
* [验价](https://resources.atriptech.com/api-wen-dang/api-can-kao/yu-ding-api/yan-jia)
* [创建订单](https://resources.atriptech.com/api-wen-dang/api-can-kao/yu-ding-api/chuang-jian-ding-dan)
* [确认订单](https://resources.atriptech.com/api-wen-dang/api-can-kao/yu-ding-api/que-ren-ding-dan)
* [支付与出票](https://resources.atriptech.com/api-wen-dang/api-can-kao/yu-ding-api/zhi-fu-yu-chu-piao)
* [查询订单](https://resources.atriptech.com/api-wen-dang/api-can-kao/yu-ding-api/cha-xun-ding-dan)
* [智能搜索](https://resources.atriptech.com/api-wen-dang/api-can-kao/yu-ding-api/zhi-neng-sou-suo)
* [获取 Offer](https://resources.atriptech.com/api-wen-dang/api-can-kao/yu-ding-api/huo-qu-offer)
* [预订中座位与行李](https://resources.atriptech.com/api-wen-dang/api-can-kao/yu-ding-api/yu-ding-zhong-zuo-wei-yu-xing-li)

### 典型流程

{% stepper %}
{% step %}

### 搜索可售报价

先获取可预订的航班和票价。
{% endstep %}

{% step %}

### 验价并拿到会话

在下单前确认价格、航线和要求。
{% endstep %}

{% step %}

### 创建并确认订单

提交乘客信息，必要时执行确认步骤。
{% endstep %}

{% step %}

### 支付并跟进出票

完成支付后查询订单状态和出票结果。
{% endstep %}
{% endstepper %}

### 主要 API

* `search.do`
* `verify.do`
* `order.do`
* `orderCommit.do`
* `pay.do`
* `queryOrderDetails.do`

### 关键标识符

* 搜索阶段：`routingIdentifier`
* 验价阶段：`sessionId`
* 订单阶段：`orderNo`

### 适用场景

* 对接标准预订链路
* 排查从搜索到出票的问题
* 查请求字段、响应结构和 endpoint 细节

### 相关页面

* [预订流程概览](https://resources.atriptech.com/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan)
* [API 参考](https://resources.atriptech.com/api-wen-dang/api-can-kao)
* [排障与支持](https://resources.atriptech.com/api-wen-dang/pai-zhang-yu-zhi-chi)
