搜好货souhaohuo获得商品详情 API

接口测试返回值说明

item_get-获得搜好货商品详情  测试接口

onebound.souhaohuo.item_get

公共参数

请求地址: https://api-gw.onebound.cn/souhaohuo/item_get

名称类型必须描述
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版本

请求参数

请求参数:num_iid=355367829

参数说明:num_iid:搜好货商品ID

响应参数

Version: Date:

名称类型必须示例值描述

num_iid

String0355367829宝贝ID

title

String0便宜库存男式牛仔裤地摊货杂款牛仔裤批发 秋冬新款 男装弹力小脚裤商品标题

desc_short

String0男式牛仔裤产品牛仔裤男式牛仔裤,欢迎选购!商品简介

price

Float015价格

total_price

Float00

suggestive_price

Float00

orginal_price

Float0原价

nick

String0周女士卖家昵称

num

Int012000

unit

String0单位

min_num

Int0100

detail_url

String0https://www.912688.com/supply/355367829.html宝贝链接

pic_url

String0https://img0.912688.com/aea87f54-99f9-4c20-8c87-cefb81a25d04.jpg#宝贝图片

brand

String0牛仔裤品牌

brandId

Int0品牌id

rootCatId

Int0顶级分类ID

cid

Int0646

favcount

Int00

fanscount

Int00

desc

String0

desc_img

Mix0["https://img2.912688.com/cfaf2a89-b27b-4f6c-9e15-da3c6cdb6dd4.png?imageView2/2/w/1920]商品描述图片列表

item_imgs

Mix0[{"url": "https://img0.912688.com/aea87f54-99f9-4c20-8c87-cefb81a25d04.jpg#"}]商品图片列表

item_weight

String0

item_size

String0

location

String0广东省深圳市龙岗区吉华街道发货地

post_fee

Float0邮费

express_fee

Float0EMS费用

ems_fee

Float0物流费用

shipping_to

String0发货至

has_discount

Boolean0false

video

Mix0[]商品视频

is_virtual

String0

sample_id

String0

is_promotion

Boolean0false

props_name

String0商品属性名

prop_imgs

Mix0{"prop_img": [ ]}商品属性图片列表

property_alias

String0属性别名

props

Mix0[{"品牌": "牛仔裤"}]商品详情

total_sold

0

skus

Mix0{"sku": []}商品规格信息列表

seller_id

Int034755687卖家ID

sales

Int01销售额

shop_id

Int0店铺ID

props_list

Mix0商品属性

seller_info

Mix0{"title": "深圳市万鼎服饰有限公司","shop_name": "深圳市万鼎服饰有限公司", "tell": "13798792016","zhuy": "https://wanding.912688.com","level": "","shop_type": "", "user_num_id": "34755687", "cid": "355367829", "delivery_score": null, "item_score": null, "score_p": null, "nick": "深圳市万鼎服饰有限公司","addre":"广东省深圳市龙岗区吉华街道"}卖家信息

tmall

Boolean0false是否天猫

error

String0错误信息

warning

String0price_json error;skus miss;警告信息

url_log

Mix0

priceRange

Mix0["3","49.90"]价格区间

shop_item

Mix0

relate_items

Mix0

请求示例

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

响应示例

{

}

异常示例

{
  "error": "item-not-found",
  "reason": "商品没找到",
  "error_code": "2000",
  "success": 0,
  "cache": 0,
  "api_info": "today:0 max:10000",
  "execution_time": 0.081,
  "server_time": "Beijing/2020-06-10 23:44:00",
  "call_args": [],
  "api_type": "1688",
  "request_id": "15ee0ffc041242"
}

相关资料

错误码解释

状态代码(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未知错误
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值