Loading…

Modify shipping address

```javascript WXAPI.updateAddress({ id: 1233, token: '000' }) ``` + token current user login credentials + id ID of the record that needs to be modified + provinceId province code + cityId city code + districtId the district and county code to which it belongs + streetId belongs to the street code + linkMan Contact + address detailed address + xiaoqu community name + menpai house number + mobile mobile phone number + code zip code + status status: 0 is normal 1 is disabled + isDefault is set as the default delivery address, true means setting; false or does not pass this parameter, means not set + idcard ID number, used for international shipments + latitude coordinate latitude + longitude coordinate longitude + extJsonStr extended attribute information, string in JSON format + outId The address ID of the external system To read the data of provinces, cities, counties and administrative regions, please refer to ["Get all provinces"](https://www.yuque.com/apifm/nu0f75/anab2a), ["Get the next-level geographical information"](https://www.yuque.com/apifm/nu0f75/kfukig) ```json { "code": 0, "msg": "success" } ```