item_get_specifications-获得跨境属性数据说明

一、应用场景

主要适用于国外买家采购商品,因为有报关要求,以及需要避免购买不能报关的商品,引起退货等相关手续

二、公共参数

请求地址:https://api-gw.cn/188/item_get_specifications

三、请求参数

请求参数:num_iid=725962595144

参数说明:num_iid:商品ID

四、请求示例

# coding:utf-8
"""
Compatible for python2.x and python3.x
requirement: pip install requests
"""
from __future__ import print_function
import requests
# 请求示例 url 默认请求参数已经做URL编码
url = "https://api-gw.onebound.cn/1688/item_get_specifications/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=725962595144"
headers = {
    "Accept-Encoding": "gzip",
    "Connection": "close"
}
if __name__ == "__main__":
    r = requests.get(url, headers=headers)
    json_obj = r.json()
    print(json_obj)

五、响应示例

  {
      "item": {
        "item_weight": 0.1,
        "unit_weight": 0.1,
        "volume_length": 8,
        "volume_width": 6,
        "volume_height": 2.8,
        "_ddf": "ti"
    },
    "error": "",
    "reason": "",
    "error_code": "0000",
    "cache": 0,
    "api_info": "today:58 max:10100 all[106=58+24+24];expires:2030-12-31",
    "execution_time": "1.612",
    "server_time": "Beijing/2023-07-25 10:26:28",
    "client_ip": "115.153.49.128",
    "call_args": [],
    "api_type": "1688",
    "translate_language": "zh-CN",
    "translate_engine": "baidu",
    "server_memory": "3.99MB",
    "request_id": "1.64bf32d324b3b",
    "last_id": "1898688318"
}

  • 8
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值