> For the complete documentation index, see [llms.txt](https://itjun.gitbook.io/didi-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://itjun.gitbook.io/didi-api/gong-gong/ding-dan-zhuang-tai-ding-yi.md).

# 订单状态定义

## 滴滴用车类型码

| 计价类型（rule） | 用车类型（require\_level） | 描述   |
| ---------- | -------------------- | ---- |
| 301（快车）    | 600                  | 普通快车 |
|            | 900                  | 优享快车 |
| 201（专车）    | 100                  | 舒适型  |
|            | 400                  | 六座商务 |
|            | 200                  | 行政级  |

## 订单状态返回码

| 状态码 | 描述     |
| --- | ------ |
| 300 | 等待应答   |
| 311 | 订单超时   |
| 400 | 等待接驾   |
| 410 | 司机已到达  |
| 500 | 行程中    |
| 600 | 订单结束   |
| 610 | 订单异常结束 |
| 700 | 已支付    |

## 订单详细状态返回码

| 状态码（sub\_status) | 描述（sub\_status\_tips) |
| ---------------- | --------------------- |
| 0                | 未知                    |
| 3000             | 等待抢单                  |
| 3001             | 有司机抢单                 |
| 3002             | 确定某个司机抢单，但是需要进入协商     |
| 3003             | 协商状态                  |
| 3101             | 订单超时                  |
| 4000             | 改派中                   |
| 4001             | 等待接驾                  |
| 4002             | 司机迟到                  |
| 4004             | 乘客迟到                  |
| 4005             | 迟到计费                  |
| 4101             | 司机到达                  |
| 5000             | 服务中/计费中               |
| 6001             | 正常订单待支付               |
| 6002             | 取消订单待支付               |
| 6101             | 取消订单无需支付              |
| 6102             | 取消订单已支付               |
| 6103             | 客服关闭                  |
| 6104             | 改派关闭                  |
| 6105             | 未能完成服务关闭              |
| 7000             | 已完成                   |

## 订单状态码映射表

| status | sub\_status | 字段说明              | 是否是终态（默认否） |
| ------ | ----------- | ----------------- | ---------- |
| 0      | 0           | 未知                | 否          |
| 300    | 3000        | 等待抢单              | 否          |
| 300    | 3001        | 有司机抢单             | 否          |
| 300    | 3002        | 确定某个司机抢单，但是需要进入协商 | 否          |
| 300    | 3003        | 协商状态              | 否          |
| 311    | 3101        | 订单超时（超时没有司机接单）    | 是          |
| 400    | 4000        | 改派中               | 否          |
| 400    | 4001        | 等待接驾              | 否          |
| 400    | 4002        | 司机迟到              | 否          |
| 410    | 4004        | 乘客迟到              | 否          |
| 410    | 4005        | 迟到计费              | 否          |
| 410    | 4101        | 司机到达              | 否          |
| 500    | 5000        | 服务中/计费中           | 否          |
| 600    | 6001        | 正常订单待支付           | 否          |
| 610    | 6002        | 取消订单待支付           | 否          |
| 610    | 6101        | 取消订单无需支付          | 是          |
| 610    | 6102        | 取消订单已支付           | 是          |
| 610    | 6103        | 客服关单              | 是          |
| 610    | 6104        | 司机改派关单            | 是          |
| 610    | 6105        | 未完成服务关闭           | 是          |
| 700    | 7000        | 订单已完成             | 是          |


---

# 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://itjun.gitbook.io/didi-api/gong-gong/ding-dan-zhuang-tai-ding-yi.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.
