Bbili-open-mcpMCP
★

订单取消消息

event#126CANCEL_ORDERSHOP_ORDER_INFO

- 订单取消消息

  • 订单取消消息

Scope: SHOP_ORDER_INFO 需要申请权限 需要用户授权

触发场景#

  1. 在线支付订单且订单状态为「待付款」,买家可取消该订单
  2. 在线支付订单且订单状态为「待付款」,超时未支付,订单自动取消
  3. 在线支付订单且订单状态为「待付款」,商家主动帮买家关闭订单;

公共参数#

参数名称参数类型参数描述
eventstring事件名
timestampstring事件发生时间标签 格式为yyyy-MM-dd HH:mm:ss(UTC+8)
contentStruct具体消息结构体

消息字段#

参数名称参数类型参数描述
shop_idInt64店铺ID
cancel_reasonString取消原因
cancel_timeInt64订单取消时间
order_statusInt64父订单状态
order_typeInt64订单类型
p_idInt64父订单号
s_idslist子订单号

示例#

json
{
    "content": {
			"shop_id": 2493773,
      "cancel_reason": "不想要了",
      "cancel_time": 1629993663,
      "order_status": 4,
      "order_type": 0,
      "p_id": 4835696922606318000,
      "s_ids": [
        123
      ]
    },
  	"event":"CANCEL_ORDER",
    "timestamp": "2011-4-5 14:19:19"
  }

原始文档:126_订单取消消息.md(1641 字节)。用 bili_docs_get { "ref": "126" } 读全文,用 bili_docs_search { "query": "…" } 检索。