# 订单更新通知
该回调提供第三方平台监听小程序订单的能力,小程序可以忽略该回调。
该回调用于通知订单更新,包括订单信息和售后单信息更新,可根据update_type
调用不同接口拉取最新信息。
# 请求参数示例
<xml>
<ToUserName>gh_abcdefg</ToUserName>
<FromUserName>oABCD</FromUserName>
<CreateTime>12344555555</CreateTime>
<MsgType>event</MsgType>
<Event>open_product_order_update</Event>
<OrderUpdateNotification>
<update_type>1</update_type>
<ext_order_id>earwearwefwae1231</ext_order_id>
</OrderUpdateNotification>
</xml>
# 回包示例
success
# 请求参数说明
参数 | 类型 | 说明 |
---|---|---|
ToUserName | string | 商家小程序名称 |
FromUserName | string | 微信团队的 OpenID(固定值) |
CreateTime | number | 事件时间,Unix时间戳 |
MsgType | string | 消息类型,固定为 event |
Event | string | 事件类型,本接口固定为 open_product_order_update |
OrderUpdateNotification | object | 事件主体 |
OrderUpdateNotification.ext_order_id | string | 混淆订单id |
OrderUpdateNotification.update_type | number | 更新类型,1:订单,2:售后。1调用获取订单接口拉取,2调用获取售后接口拉取 |
# 回包参数说明
只需直接返回字符串success
。