W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗(yàn)值獎勵
本接口應(yīng)在服務(wù)器端調(diào)用,詳細(xì)說明參見服務(wù)端API。
模擬配送公司更新配送單狀態(tài), 該接口只用于沙盒環(huán)境,即訂單并沒有真實(shí)流轉(zhuǎn)到運(yùn)力方
POST https://api.weixin.qq.com/cgi-bin/express/local/business/test_update_order?access_token=ACCESS_TOKEN
屬性 | 類型 | 默認(rèn)值 | 必填 | 說明 |
---|---|---|---|---|
access_token | string | 是 | 接口調(diào)用憑證 | |
shopid | string | 是 | 商家id, 必須是 "test_shop_id" | |
shop_order_id | string | 是 | 唯一標(biāo)識訂單的 ID,由商戶生成 | |
action_time | number | 是 | 狀態(tài)變更時間點(diǎn),Unix秒級時間戳 | |
order_status | number | 是 | 配送狀態(tài),枚舉值 | |
action_msg | string | 否 | 附加信息 |
屬性 | 類型 | 說明 |
---|---|---|
errcode | number | 錯誤碼, 當(dāng)errcode==0或者不存在還需要看resultcode |
errmsg | string | 錯誤描述 |
resultcode | number | 運(yùn)力返回的錯誤碼 |
resultmsg | string | 運(yùn)力返回的錯誤描述 |
該接口只能用于測試
{
"shopid": "test_shop_id",
"shop_order_id": "xxxxxxxxxxx",
"waybill_id": "xxxxxxxxxxxxx",
"action_time": 12345678,
"order_status": 101,
"action_msg": "",
}
{
"resultcode": 0,
"resultmsg": "ok"
}
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: