Bbili-open-mcpMCP
★

订单创建消息

event#124CREATE_ORDERSHOP_ORDER_INFO

- 订单创建消息

  • 订单创建消息

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

触发场景#

当正常交易或外部导入新的订单时,即触发订单新增消息。

公共参数#

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

消息字段#

参数名称参数类型参数描述
shop_idInt64店铺ID
create_timeInt64订单创建时间
order_statusInt64父订单状态
order_typeInt64订单类型
p_idInt64父订单号
s_idslist子订单号

示例#

json
{
    "content": {
			"shop_id": 249377,
      "create_time": 1640774086,
      "order_status": 1,
      "order_type": 0,
      "p_id": 4881995531871914000,
      "s_ids": [
        123
      ]
    },
  	"event":"CREATE_ORDER",
    "timestamp": "2011-4-5 14:19:19"
  }

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