# 预订流程概览

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

用这一组页面查看端到端预订流程。

<figure><img src="/files/DqGxAvaOLqUya9iuYXgU" alt=""><figcaption><p>从搜索到支付和后续跟进的预订流程</p></figcaption></figure>

### 本栏目页面

* [搜索](/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan/sou-suo.md)
* [获取 Offer](/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan/huo-qu-offer.md)
* [验价](/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan/yan-jia.md)
* [创建订单](/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan/chuang-jian-ding-dan.md)
* [确认订单](/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan/que-ren-ding-dan.md)
* [支付与出票](/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan/zhi-fu-yu-chu-piao.md)
* [查询订单](/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan/cha-xun-ding-dan.md)
* [座位与行李](/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan/zuo-wei-yu-xing-li.md)

### 本栏目覆盖内容

* 搜索航班报价
* 通过独立 Get Offer 流程获取报价
* 验证票价和航线
* 创建订单
* 确认 FR 订单
* 支付并出票
* 查询预订详情
* 使用高级搜索流程
* 查询座位与行李

### 典型流程

{% stepper %}
{% step %}

### 标准搜索路径

搜索可用报价，并保存返回的标识符。
{% endstep %}

{% step %}

### 验价

在下单前再次确认票价、航线和预订要求。
{% endstep %}

{% step %}

### 下单

用乘客、联系人和附加服务信息创建订单。
{% endstep %}

{% step %}

### 支付

完成支付，并等待出票完成。
{% endstep %}
{% endstepper %}

### 替代流程

当你已经知道目标行程，或需要独立实时验价时，使用这条路径。

{% stepper %}
{% step %}

### 获取 Offer

调用 `getOffers.do`，并保存返回的 `OfferId`。
{% endstep %}

{% step %}

### 可选附加服务

只有在下单前需要确认行李或座位时，才调用 `getLuggage.do` 或 `seatAvailability.do`。
{% endstep %}

{% step %}

### 下单

通过 `order.do` 创建订单。
{% endstep %}

{% step %}

### 支付

通过 `pay.do` 完成支付。
{% endstep %}
{% endstepper %}

### 主要 API

* `search.do`
* `getOffers.do`
* `verify.do`
* `order.do`
* `orderCommit.do`
* `pay.do`
* `queryOrderDetails.do`
* `smartSearch.do`
* `seatAvailability.do`
* `getLuggage.do`

### 适用场景

* 标准搜索到出票流程
* 独立报价查询和实时验价流程
* FR 订单确认支持
* 座位和行李选择
* 实时搜索或智能搜索场景

### 完整 API 参考

接口级详情见：

[预订 API](/api-wen-dang/api-can-kao/yu-ding-api.md)

### 相关页面

* [快速开始](/api-wen-dang/ji-cheng-zhi-nan/quick-start.md)
* [沙箱访问](/api-wen-dang/ji-cheng-zhi-nan/quick-start/making-requests.md)
* [错误码](/api-wen-dang/pai-zhang-yu-zhi-chi/errors-handing.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://resources.atriptech.com/api-wen-dang/ji-cheng-zhi-nan/yu-ding-liu-cheng-gai-lan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
