• 淘宝/天猫api 收货地址列表 API接口


    buyer_address_list-收货地址列表 测试工具

    onebound.taobao.buyer_address_list

    公共参数

    请求地址: 跨境电商平台接口提供商 数据采集公司 数据接口定制服务 企业级数据服务商

    名称类型必须描述
    keyString调用key(必须以GET方式拼接在URL中)
    secretString调用密钥
    api_nameStringAPI接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
    cacheString[yes,no]默认yes,将调用缓存的数据,速度比较快
    result_typeString[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
    langString[cn,en,ru]翻译语言,默认cn简体中文
    versionStringAPI版本

    请求参数

    请求参数:

    参数说明:

    响应参数

    Version: Date:

    名称类型必须示例值描述

    addressDetail

    String0人民路313号(秦皇食府对面)万邦科技有限公司详细地址

    area

    String0渝水区地区

    city

    String0新余市城市

    fullAddress

    String0江西省/新余市/渝水区/城南街道地址信息

    fullName

    String0张三收货人姓名

    mobile

    String013979008888手机号码

    phoneInternationalCode

    String086电话国际代码

    phone

    String00790-6666666电话号码全部

    phoneCode

    String06666666电话号码

    phoneSection

    String00790区号

    post

    String0338000邮编

    province

    String0江西省省份

    town

    String0城南街道镇/街道

    x

    String027.806949纬度

    y

    String0114.944236经度

    请求示例

    	
    -- 请求示例 url 默认请求参数已经URL编码处理
    curl -i "https://api-gw.onebound.cn/taobao/buyer_address_list/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&"

    响应示例

    {
          "data": [
              {
                  "active": false,
                  "addressDetail": "人民路313号(秦皇食府对面)万邦科技有限公司",
                  "area": "渝水区",
                  "areaDivisionCode": 360502,
                  "buidFromChindIframe": true,
                  "chinaLand": true,
                  "city": "新余市",
                  "cityDivisionCode": 360500,
                  "confidence": 93,
                  "country": "",
                  "countryDivisionCode": 1,
                  "defaultAddress": true,
                  "defaultCode": 1,
                  "deliverId": 6845502554,
                  "divisionCode": "360502",
                  "fillPoiAddress": false,
                  "forgin": false,
                  "fullAddress": "江西省/新余市/渝水区/城南街道",
                  "fullName": "张三",
                  "gAT": false,
                  "gmtCreate": 1480486142000,
                  "gmtModified": 1495477303000,
                  "guoguoAddress": false,
                  "hKOrMacauOrTW": false,
                  "helpBuyAddress": false,
                  "illegalCunTaoAddress": false,
                  "isPoiAddress": false,
                  "kinshipDeliverAddress": false,
                  "lastChoose": false,
                  "locationEnable": false,
                  "mobile": "13979008888",
                  "mobileCode": "86",
                  "needToUpgrade": false,
                  "needUpgrade": false,
                  "overSea": false,
                  "phone": "0790-6666666",
                  "phoneCode": "6666666",
                  "phoneInternationalCode": "86",
                  "phoneSection": "0790",
                  "post": "338000",
                  "provDivisionCode": 360000,
                  "province": "江西省",
                  "tAIWAN": false,
                  "town": "城南街道",
                  "townDivisionCode": 360502001,
                  "userNumId": 2601011849,
                  "x": "27.806949",
                  "y": "114.944236"
              },
              {
                  "active": false,
                  "addressDetail": "康泰路62号 玫瑰小区6期",
                  "area": "渝水区",
                  "areaDivisionCode": 360502,
                  "buidFromChindIframe": true,
                  "chinaLand": true,
                  "city": "新余市",
                  "cityDivisionCode": 360500,
                  "confidence": 98,
                  "country": "",
                  "countryDivisionCode": 1,
                  "defaultAddress": false,
                  "defaultCode": 0,
                  "deliverId": 6375759746,
                  "divisionCode": "360502",
                  "fillPoiAddress": false,
                  "forgin": false,
                  "fullAddress": "江西省/新余市/渝水区/城南街道",
                  "fullName": "李四",
                  "gAT": false,
                  "gmtCreate": 1465220621000,
                  "gmtModified": 1495681978000,
                  "guoguoAddress": false,
                  "hKOrMacauOrTW": false,
                  "helpBuyAddress": false,
                  "illegalCunTaoAddress": false,
                  "isPoiAddress": false,
                  "kinshipDeliverAddress": false,
                  "lastChoose": false,
                  "locationEnable": false,
                  "mobile": "13979008888",
                  "mobileCode": "86",
                  "needToUpgrade": false,
                  "needUpgrade": false,
                  "overSea": false,
                  "post": "338000",
                  "provDivisionCode": 360000,
                  "province": "江西省",
                  "tAIWAN": false,
                  "town": "城南街道",
                  "townDivisionCode": 360502001,
                  "userNumId": 2601011849,
                  "x": "27.79764",
                  "y": "114.950212"
              }
          ],
          "from": "taobao",
          "error": "",
          "reason": "",
          "error_code": "0000",
          "cache": 0,
          "api_info": "today:7 max:10000",
          "execution_time": 0.704,
          "server_time": "Beijing/2021-03-16 10:47:24",
          "client_ip": "127.0.0.1",
          "call_args": [],
          "api_type": "taobao",
          "translate_language": "zh-CN",
          "translate_engine": "google_cn",
          "server_memory": "5.5MB",
          "request_id": "0.60501c3b778b7"
      }

    异常示例

    相关资料

    错误码解释

    状态代码(error_code)状态信息详细描述是否收费
    0000success接口调用成功并返回相关数据
    2000Search success but no result接口访问成功,但是搜索没有结果
    4000Server internal error服务器内部错误
    4001Network error网络错误
    4002Target server error目标服务器错误
    4003Param error用户输入参数错误忽略
    4004Account not found用户帐号不存在忽略
    4005Invalid authentication credentials授权失败忽略
    4006API stopped您的当前API已停用忽略
    4007Account stopped您的账户已停用忽略
    4008API rate limit exceeded并发已达上限忽略
    4009API maintenanceAPI维护中忽略
    4010API not found with these valuesAPI不存在忽略
    4012Please add api first请先添加api忽略
    4013Number of calls exceeded调用次数超限忽略
    4014Missing url param参数缺失忽略
    4015Wrong pageToken参数pageToken有误忽略
    4016Insufficient balance余额不足忽略
    4017timeout error请求超时
    5000unknown error未知错误
  • 相关阅读:
    存储过程报Illegal mix of collations错误的解决方法
    # vue3 ref 和 reactive 函数
    操作系统真相还原_第1~2章:环境配置
    2022前端面试题上岸手册-计算机网络部分
    SpringMVC:绝对地址、相对地址(动力)
    【Vue2】Vue2-简易图书借阅管理
    搜索引擎分布式系统思考实践
    2023年天津农学院专升本专业课参考教材
    Anaconda+PytorchGPU版本+CUDA+CUNN的下载与安装使用
    详解容灾恢复过程中跨数据中心级的关键故障切换
  • 原文地址:https://blog.csdn.net/m0_72059466/article/details/125533997