> For the complete documentation index, see [llms.txt](https://resources.atriptech.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://resources.atriptech.com/api-wen-dang/api-can-kao/yu-ding-api.md).

# 预订 API

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

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

### 本栏目页面

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

### 典型流程

{% 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 细节

### 相关页面

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/api-can-kao/yu-ding-api.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.
