> 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/readme/yu-ding-liu-cheng-gai-lan/xing-li.md).

# 行李

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

在支持的预订链路中，建议接入 Atlas 行李服务。

预订中展示行李选项能让总价更清晰。

它也能减少因行李规则不明确带来的流失和售后问题。

### 为什么推荐接入

* 在下单前展示准确的行李选项和价格
* 让用户在预订阶段完成行李决策
* 降低因行李预期不一致带来的订单流失

### 什么时候使用

适合这些场景：

* 需要在下单前展示可选行李
* 需要在预订流程中完成行李加购
* 需要在创建订单前确定行李产品编码

### 主要 API

* `getLuggage.do`

### 推荐流程

{% stepper %}
{% step %}

### 获取当前报价上下文

标准搜索链路先调用 `verify.do`。

Get Offer 链路先调用 `getOffers.do`。
{% endstep %}

{% step %}

### 查询行李选项

调用 `getLuggage.do`。

向用户展示可选行李和对应价格。
{% endstep %}

{% step %}

### 下单时提交行李

在 `order.do` 中提交已选行李对应的 `productCode`。
{% endstep %}
{% endstepper %}

### 调用规则

* `getLuggage.do` 需要当前有效的报价上下文
* 标准搜索链路使用 `verify.do` 返回的交易上下文
* Get Offer 链路使用 `getOffers.do` 返回的 `offerId`
* 只使用当前返回的 `productCode` 进行下单

{% hint style="info" %}
`getLuggage.do` 会按航段返回行李选项。

如果行程包含中转，同一方向下的联程航段必须选择一致的托运行李方案。

去程和回程可以选择不同方案。
{% endhint %}

### 最佳实践

* 行程确认后展示行李选项和价格
* 在同一报价上下文内完成行李选择和下单
* 对联程航班，保持同一方向全部航段的行李规格一致
* 把预订中行李服务作为标准预订能力的一部分

### 相关页面

* [验价](/api-wen-dang/readme/yu-ding-liu-cheng-gai-lan/yan-jia.md)
* [创建订单](/api-wen-dang/readme/yu-ding-liu-cheng-gai-lan/chuang-jian-ding-dan.md)
* [出票后附加服务](/api-wen-dang/readme/yu-ding-hou-gai-lan/yu-ding-hou-cao-zuo/chu-piao-hou-fu-jia-fu-wu.md)

### 完整 API 参考

接口级详情见：

[预订中座位与行李](/api-wen-dang/api-can-kao/yu-ding-api/yu-ding-zhong-zuo-wei-yu-xing-li.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/readme/yu-ding-liu-cheng-gai-lan/xing-li.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.
