修改探马订单推送
推送数据
appId、timestamp、version、sign,详见推送数据格式约定
Body
Base64 编码加密数据,加密方式详见推送数据格式约定。加密前数据为UTF8编码JSON
新增客户信息通知:
{
"type": "change_order",
"noise": -123451234512345123,
"msgId": 1234567,
"content": {
"detailType": "order_edit",
"customerId": "397201116145664",
"mobiles": [
"18145673027"
],
"unionid": "oStmX5mp7iJotXaR6CTGQyDSV0gU",
"qwUserId": "1234567",
"salesId": "423900167739456",
"orderId": "432229233592384",
"type": 2,
"orderStatus": 2
}
}
参数说明
JSON字段 | 类型 | 可空 | 说明 |
---|---|---|---|
noise | 数字 | 否 | 随机数。接收方成功接收处理消息后需要在响应中回复此值。 |
type | 字符串 | 否 | 消息类型。此类型消息固定为 change_order |
msgId | 数字 | 否 | 消息id。 |
content | 对象 | 否 | 消息内容 |
content.detailType | 字符串 | 是 | 新增探马订单 order_add,修改探马订单 order_edit |
content.customerId | 字符串 | 是 | 客户id |
content.mobiles | 字符串列表 | 是 | 客户手机号 |
content.unionid | 字符串 | 是 | 客户unionid |
content.salesId | 字符串 | 否 | 探马销售id |
content.qwUserId | 字符串 | 否 | 销售企微id |
content.orderId | 字符串 | 否 | 订单编号 |
content.orderType | 字符串 | 否 | 订单类型:0:手填订单,1:分销订单,2:普通订单,3:拼团活动订单 |
content.orderStatus | 字符串 | 否 | 订单状态:2已支付;3已发货;4已完成;5售后中;7已退款; |
参见响应约定