卖家地址库删除

用此接口删除卖家地址库

1.请求参数

请求URL:

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

参数名 类型 说明 示例
appid String 合作伙伴AppId uwkahf@jfs92
timestamp String 当前时间戳
tb_seller_nick String 淘宝卖家店铺登录账号,非店铺名称 kingdo
sign String 接口签名 如何计算生成见示例代码
contact_id Number 必填, 地址库ID

2. 请求示例代码(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);

    }

3. 返回结果如下:

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

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

文档更新时间: 2023-03-14 16:35   作者:admin