版本:202201
取消订单
POST/openapi/2022-01/orders/:id/cancel
通过唯一 ID 取消指定订单,支持填写取消原因。
请求
Path参数
id string必填
Order's ID
- application/json
- 请求体
- 示例
请求体
reasonstring
Cancel reason
{
"reason": "string"
}
响应
- 200
- 404
200
- application/json
无 Schema
404
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"Unable to find resource"
]
}
{
"errors": [
"Unable to find resource"
]
}