Loading…

Get after-sales details of your order

```javascript WXAPI.refundApplyDetail(token, orderId, orderGoodsId) ``` + token current user login credentials + orderId order id + orderGoodsId This parameter does not need to be passed. If it is not passed, after-sales service will be provided for the order; if it is passed, then after-sales service will be provided for the specific order goods. ```json { "code": 0, "data": [ { "baseInfo": { "afterSale": "0,1,2", "amount": 13, "dateAdd": "2022-01-27 16:14:21", "id": 17552, "logisticsStatus": 0, "logisticsStatusStr": "Goods not received", "orderId": 1286724, "reason": "Don't like/don't want", "remark": "", "shopId": 0, "status": 0, "statusStr": "Pending", "type": 0, "typeStr": "Refund only", "uid": 2017654, "userId": 951 }, "pics": [] } ], "msg": "success" } ``` + baseInfo basic information for after-sales application [see application for after-sales for specific fields] - status 0 Pending 1 Buyer Cancel 2 Seller Rejected 3 Processing 4 Return/Exchange Successful - type After-sales type: 0 Refund only 1 Refund and return 2 Exchange - reason reason for return or exchange - logisticsStatus 0 Goods not received 1 Goods received - amount Enter the amount for refund and return; please pass 0 for exchange. - remark the remark information for this after-sales service - status2 Returned goods status 0 Initial status 1 Waiting to be sent back by the user 2 The user has sent it back - logisticsContent Logistics reverse data returns a string, which needs to be converted into json format. The fields inside are as follows: * linkMan consignee * mobile recipient’s mobile phone * address detailed address * shipperName courier company name * trackingNumber express tracking number + pics: Array of related pictures passed when applying for after-sales service