文档中心 > API类目 > 本地生活预订交易

qimen.taobao.life.booking.order.query (本地生活-预订-订单查询)

1. 调用场景 :某些校验流程需要查询合作方订单信息,做双向信息核对 2. 超时时间:5s

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
partner_order_no String 必须 123456 合作方订单号
tp_order_no String 必须 2631830331582471544 平台订单号

响应参数

名称 类型 示例值 描述
partner_order_id String 654321 合作方订单号
order_status String WAIT_CONSUME 平台订单状态,状态分别为WAIT_PAY_CLOSE未支付关单,WAIT_CONFIRM待接单,WAIT_DELIVERY待发货,WAIT_CONSUME待核销,REFUND已退款,CONSUME已核销
biz_result String success 查询结果,查询成功返回success,查询失败返回fail
quantity Number 1 订单数量
consumed_quantity Number 0 已核销数量
success Boolean true 合作方是否收到本次请求,默认传true
delivery_type String NO_DELIVERY 发货类型,分别为WITH_DELIVERY : 合作方需发货, NO_DELIVERY : 合作方无需发货。
order_id String 123456 平台订单id
refund_quantity Number 0 已退款数量
biz_error_code String demo 业务错误码
biz_error_msg String demo 业务错误信息
delivery_info String demo 合作方发货详情,JSON格式。

请求示例

{"partner_order_no":"123456","tp_order_no":"2631830331582471544"}

响应示例

{
    "partner_order_id":"654321",
    "order_status":"WAIT_CONSUME",
    "biz_result":"success",
    "quantity":1,
    "consumed_quantity":0,
    "success":true,
    "delivery_type":"NO_DELIVERY",
    "order_id":"123456",
    "refund_quantity":0,
    "biz_error_code":"demo",
    "biz_error_msg":"demo",
    "delivery_info":"demo"
}

验签示例

{"biz_error_msg":"Illegal request","success":"不等于true","biz_error_code":"sign-check-failure"}

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部