跳转到内容
返回官网

卖家地址库删除

用此接口删除卖家地址库

一、请求参数

请求URL:

POST https://kf.fw199.com/gateway/taobao/logistices/addr/remove

参数名类型说明示例
appidString合作伙伴AppIduwkahf@jfs92
timestampString当前时间戳
tb_seller_nickString淘宝卖家店铺登录账号,非店铺名称kingdo
signString接口签名如何计算生成见示例代码
contact_idNumber必填, 地址库ID

二、请求示例代码

Java

@Test
public void LogisticsAddressRemoveRequest() throws Exception {
String tb_seller_nick = Config.TBSellerNick ;
//业务参数
Map<String, String> data = new HashMap<String, String>();
data.put("appid", Config.AppId);
Long timestamp = System.currentTimeMillis() / 1000;
data.put("timestamp", timestamp.toString());
data.put("tb_seller_nick", tb_seller_nick);
data.put("contact_id", "18267569");
data.put("sign", Utils.Sign(data,Config.AppSecret));
// 调用服务API
doHttpRequest(Config.TaoBaoLogisticesAddrRemoveUrl ,data);
}

三、返回结果

{
"code": 0,
"message": "ok",
"data": {
"address_result": {
"modify_date": "2021-08-19 17:48:19"
},
"request_id": "gxd7j7rlicqz"
},
"trace_id": ""
}

说明: code为0表示成功,非0为失败, message会包含失败原因。