Loading…

Delivery order list

```javascript WXAPI.peisongOrders({ token: '000' }) ``` + token current user login credentials + page reads several pages of data. If this parameter is not passed, the default value is 1. + pageSize How many pieces of data are obtained per page? If this parameter is not passed, the default is 50 + type 0 order grabbing 1 system order dispatch 2 manual order dispatch + status order status, 1 awaiting order; 2 awaiting pickup (meal); 3 being delivered; 4 completed; 5 canceled; 6 reserved; 7 reserved; 8 reserved; 9 being returned; 10 returned; + statusBatch batch pulls orders with multiple statuses, separate multiple statuses with commas + refundStatus Return and exchange processing status 0 Not applied 1 Pending 2 Rejected by the merchant + refundStatusBatch batch query of after-sales status, multiple statuses are separated by commas + hasTimeout Whether to time out order grabbing (true / false) ```json { "code": 0, "data": { "result": [ { "amount": 5, "dateAdd": "2022-01-13 14:03:42", "id": 1529, "orderId": 1283530, "orderNumber": "PS2201131403790001", "refundStatus": 0, "status": 1, "statusStr": "Order pending", "userId": 79 } ], "totalRow": 1, "totalPage": 1 }, "msg": "success" } ``` + id delivery order id + orderNumber delivery order number + orderId business order id + amount delivery fee + dateAdd order time + status 1 awaiting order; 2 awaiting pickup (meal); 3 being delivered; 4 completed; 5 canceled; 6 reserved; 7 reserved; 8 reserved; 9 being returned; 10 returned; + refundStatus Return and exchange processing status 0 Not applied 1 Pending 2 Rejected by the merchant + Meal pickup address: - shopAddress store address - shopLatitude and shopLongitude are store latitude and longitude - shopMobile store contact number - shopName store contact + Food delivery address: - address address - mobile mobile phone number - name contact - latitude and longitude latitude and longitude **For specific business order details, please call the order details interface to query:** ["Business Order Details Interface"](https://www.yuque.com/apifm/nu0f75/oamel8)If the current user is an ordinary delivery person, he can only view his own delivery orders; if the current user is a delivery administrator, he can see all delivery orders (can be used to manually dispatch orders)