Loading…

Get shipping address details

```javascript WXAPI.addressDetail(token, id) ``` + token user login credentials + id The ID of the delivery address record that needs to be viewed ```json { "code": 0, "data": { "extJson": {}, "info": { "address": "Test detailed address", "areaStr": "Fengfeng Mining Area", "cityId": "130400000000", "cityStr": "Handan City", "dateAdd": "2021-10-24 21:52:32", "dateUpdate": "2022-01-01 10:16:12", "districtId": "130406000000", "id": 265498, "isDefault": false, "linkMan": "Test", "mobile": "13500000000", "provinceId": "130000000000", "provinceStr": "Hebei Province", "status": 0, "statusStr": "Normal", "uid": 1351478, "userId": 951 } }, "msg": "success" } ``` + info basic information - id shipping address record id - provinceId, provinceStr province code and province name - cityId, cityStr city code and city name - districtId, areaStr district and county code and district and county name - address Detailed delivery address - linkMan consignee name - mobile mobile phone number - isDefault true is the default delivery address, false is the non-default delivery address (there will only be one default delivery address) + extJson extended properties