查询同类商品
开发中
测试环境
https://t-open.zuifuli.com
测试环境
https://t-open.zuifuli.com
POST
https://t-open.zuifuli.com
应用场景
接口信息
serviceName | mall.sku.detail.byitem |
---|---|
version | 1.0 |
请求bizContent参数
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
mall | String | 是 | 商城 |
skuId | String | 是 | skuId |
响应bizContent参数
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
SkuAttrVO | SkuAttrVO[] | 是 | 搜索结果 |
SkuAttrVO
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
id | String | 是 | 商品id |
outerId | String | 是 | 外部id |
name | String | 是 | 名称 |
image | String | 否 | 图片 |
originPrice | Integer | 否 | 原价,单位分 |
price | Integer | 否 | 售价,单位分 |
skuStock | SkuStock | 否 | 库存信息 |
attributeName1 | String | 否 | 属性名称 |
attributeValue1 | String | 否 | 属性值 |
attributeName2 | String | 否 | 属性名称 |
attributeValue2 | String | 否 | 属性值 |
attributeName3 | String | 否 | 属性名称 |
attributeValue3 | String | 否 | 属性值 |
attributeName4 | String | 否 | 属性名称 |
attributeValue4 | String | 否 | 属性值 |
SkuStock
参数名称 | 类型 | 必填 | 说明 |
---|---|---|---|
skuId | String | 否 | Sku ID |
stockState | String | 否 | 库存状态 IMMEDIATE-有货|INNER_DELIVERY-在途|STOCK_DELIVERY-可配货|BOOK-预订|NONE-无货 |
num | Integer | 否 | 数量 |
desc | String | 否 | 描述信息 |
返回示例-仅供参考
[{
"id": "100034981315",
"image": "http://img13.360buyimg.com/n1/jfs/t1/193017/4/28504/186405/630b8d37E4e48b8c2/bce09ae11c34e002.png",
"skuStock": {
"skuId": "100034981315",
"stockState": "IMMEDIATE",
"num": 99,
"desc": "有货"
},
"attributeName1": "颜色",
"attributeValue1": "【多卷耐用】蓝色经典180克30卷"
}, {
"id": "1241849",
"image": "http://img13.360buyimg.com/n1/jfs/t1/87658/38/13652/213678/5e5c62feE643db5b3/4a232412278971bc.png",
"skuStock": {
"skuId": "1241849",
"stockState": "IMMEDIATE",
"num": 99,
"desc": "有货"
},
"attributeName1": "颜色",
"attributeValue1": "【镇店主推】蓝色经典140克*27卷"
}]
请求参数
Body 参数application/x-www-form-urlencoded
channelCode
string
渠道编号
sign
string
签名
signType
string
必需
示例值:
MD5
timestamp
string
必需
bizContent
string
必需
version
string
版本号
示例值:
1.0
serviceName
string
服务名称
示例值:
mall.sku.detail.byitem