item_search-按关键字搜索suning商品
数据返回值说明
onebound.suning.item_search
公共参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
key | String | 是 | 调用key(必须以GET方式拼接在URL中) |
secret | String | 是 | 调用密钥 |
api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
version | String | 否 | API版本 |
请求参数
请求参数:q=鞋子&start_price=&end_price=&page=&cat=&discount_only=&sort=&page_size=&seller_info=&nick=&ppath=
参数说明:q:搜索关键字
cat:分类ID
start_price:开始价格
end_price:结束价格
sort:排序[bid,_bid,bid2,_bid2,_sale,_credit]
(bid:总价,bid2:商品价格,sale:销量,credit信用,加_前缀为从大到小排序)
page:
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
title | String | 0 | 百慕爱BAIMUAI休闲鞋 女2019春季 透气 时尚 推荐舒适增高运动鞋女板鞋女英伦小白鞋女学生磨砂皮女鞋 秋冬新款 热销推荐 | 商品标题 |
pic_url | String | 0 | //imgservice1.suning.cn/uimg1/b2c/image/GfDETtejamy-pyxEFRQGPA.jpg_400w_400h_4e | 商品图片 |
promotion_price | Float | 0 | 79.00 | 优惠价 |
price | Float | 0 | 180.00 | 价格 |
sales | Int | 0 | 销量 | |
num_iid | Bigint | 0 | 0070089297/10228868562 | 商品ID |
item_id | Bigint | 0 | 10228868562 | |
sample_id | String | 0 | 商品风格标识ID | |
seller_nick | String | 0 | 约薇女装官方旗舰店 | 卖家昵称 |
shopid | Bigint | 0 | 店铺ID | |
shop_href | String | 0 | 店铺链接 | |
shopname | String | 0 | 店铺名称 | |
post_fee | Float | 0 | 物流费用 | |
area | String | 0 | 店铺所在地 | |
detail_url | String | 0 | //product.suning.com/0070089297/10228868562.html | 商品链接 |
seller_info | Mix | 0 | {"user_num_id": "0070089297"} | 店铺信息 |