本接口应在服务器端调用,详细说明参见 服务端API。
模拟配送公司更新配送单状态, 该接口只用于沙盒环境,即订单并没有真实流转到运力方
POST https://api.weixin.qq.com/cgi-bin/express/local/business/test_update_order?access_token=ACCESS_TOKEN
| 属性 | 类型 | 默认值 | 必填 | 说明 | 
|---|---|---|---|---|
| access_token | string | 是 | 接口调用凭证 | |
| shopid | string | 是 | 商家id, 必须是 "test_shop_id" | |
| shop_order_id | string | 是 | 唯一标识订单的 ID,由商户生成 | |
| action_time | number | 是 | 状态变更时间点,Unix秒级时间戳 | |
| order_status | number | 是 | 配送状态,枚举值 | |
| action_msg | string | 否 | 附加信息 | 
| 属性 | 类型 | 说明 | 
|---|---|---|
| errcode | number | 错误码, 当errcode==0或者不存在还需要看resultcode | 
| errmsg | string | 错误描述 | 
| resultcode | number | 运力返回的错误码 | 
| resultmsg | string | 运力返回的错误描述 | 
该接口只能用于测试
{
   "shopid": "test_shop_id",
   "shop_order_id": "xxxxxxxxxxx",
   "waybill_id": "xxxxxxxxxxxxx",
   "action_time": 12345678,
   "order_status": 101,
   "action_msg": "",
}
{
  "resultcode": 0,
  "resultmsg": "ok"
}
            
                当前名称:创新互联小程序教程:微信小程序小程序使用·mockUpdateOrder
                
                文章起源:http://www.csdahua.cn/qtweb/news8/416358.html
            
网站建设、网络推广公司-快上网,是专注品牌与效果的网站制作,网络营销seo公司;服务项目有等
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 快上网