May 20, 2021 WeChat Mini Program Development Document
This document describes messages or events received on the server side, see Message Push for details.
You can increase the tip for orders that can be treated in the order order status. Note: The tip rules are not consistent, please refer to the distribution company information table tip rules instructions to add.
Property | Type | Description |
---|---|---|
ToUserName | string | Express company small program UserName |
FromUserName | string | WeChat team's OpenID (fixed value) |
CreateTime | number | Event time, Unix timestamp |
MsgType | string | Message type, pinned to event |
Event | string | Event type, fixed to transport_add_tips, is case insenso sensitive |
shopid | string | Merchant id, assigned by a distribution company, can dev_id or appkey |
shop_order_id | string | The ID that uniquely identifies the order and is generated by the merchant |
shop_no | string | Merchant store number, registered on the distribution company side |
waybill_id | string | Delivery order id |
delivery_sign | string | A check string encrypted with appSecret provided on the side of the distribution company |
tips | number | Tip amount (in yuan) |
remark | string | Note |
Property | Type | The default | Required | Description |
---|---|---|---|---|
ToUserName | string | Is | Return as is fromUserName in the request | |
FromUserName | string | Is | Express company small program UserName | |
CreateTime | number | Is | Event time, Unix timestamp | |
MsgType | string | Is | Message type, pinned to event | |
Event | string | Is | Event type, fixed to transport_add_tips, is case insenso sensitive | |
resultcode | number | Is | Error code | |
resultmsg | string | Is | The error description |