Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

WeChat small program capacity party to use updateOrder


May 20, 2021 WeChat Mini Program Development Document



immediateDelivery.updateOrder

This interface should be called on the server side, as detailed in the Service Side API.

The delivery company updates the status of the delivery order

The request address

POST https://api.weixin.qq.com/cgi-bin/express/local/delivery/update_order?access_token=ACCESS_TOKEN

Request parameters

Property Type The default Required Description
access_token string Is The interface calls the credentials
wx_token string Is The same field that was pushed in the wx_token event
shopid string Is Merchant id, assigned by a distribution company, can dev_id or appkey
shop_order_id string Is The ID that uniquely identifies the order and is generated by the merchant
shop_no string Whether Merchant store number, registered on the distribution company side
waybill_id string Is Delivery order id
action_time number Is State change point in time, Unix second timestamp
order_status number Is Order status, enumeration values, list of enumeration values and descriptions are attached
action_msg string Whether Additional information
wxa_path string Is The distribution company's program jumps the path so that when the user receives a message, it jumps indirectly to this page
agent Object Whether Rider information, which the rider needs to return when receiving the order
expected_delivery_time number Whether The timestamp is expected to be delivered and the rider will need to return when receiving the order

The structure of the agent

Property Type The default Required Description
name string Is The rider's name
phone string Is Rider's phone
is_phone_encrypted number 0 Whether Whether the phone is encrypted

Returns a value

Object

Property Type Description
resultcode number Error code
resultmsg string The error description