按商家编码查档案
商家编码是唯一的,查到什么就是哪一条档案。
| 请求方式 | GET |
| 接口路径 | /api/isbn/getByGoodsSn |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
请求参数
| 参数 | 类型 | 必填 | 位置 |
goodsSn | String | 是 | URL 参数 |
curl 调用
curl -s 'https://www.8shu8.com/api/isbn/getByGoodsSn?goodsSn=xxx' \
-H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"id": 1,
"levelNum": 1,
"author": "string",
"pubdate": "string",
"binding": "string",
"translator": "string",
"pages": 1,
"categoryId": "string",
"imagesLarge": "string",
"publisher": "string",
"isbn": "string",
"goodsSn": "string",
"title": "string",
"price": 0.0,
"kaiben": "string",
"version": "string",
"wordCnt": "string",
"dtSource": "...",
"subtitle": "string",
"summary": "string",
"score": 0.0,
"label": "string",
"calisLabel": "string",
"volume": "string",
"updateTime": "string",
"addTime": "string",
"recycle": true,
"doubanScore": 0.0,
"hasSub": 1,
"outmoded": 1,
"ban": true,
"sell": 1,
"demand": 1,
"contents": "string",
"recommendWords": "string",
"authorIntro": "string",
"weight": 0.0,
"gds": [
"..."
],
"sync": true,
"ownActiveCode": true,
"oneIsbnMoreBook": true,
"suitBook": true,
"imageMd5": "string",
"sourceTitle": "string",
"kfzMinPrice": 0.0,
"bsMinPrice": 0.0,
"humanPrice": 0.0,
"kfzStock": 1,
"humanCheck": true,
"recycleMarkType": "...",
"recyclePrice": 0.0,
"recycleScore": 0.0,
"kfzSoldRate": 0.0,
"kfzSoldAvgPrice": 0.0,
"kfzWeekSell": 1,
"kfzMonthSell": 1,
"kfzThreeMonthSell": 1,
"kfzHalfYearSell": 1,
"kfzYearSell": 1,
"kfzAvgPrice": 0.0,
"marketStock": 1,
"marketStockTime": "string",
"bookDataSyncTime": "string",
"kfzSellShopCount": 1,
"kfzSellAvgPrice": 0.0,
"kfzLastSoldDay": 0.0,
"lastSaleDay": 0.0,
"bs3mSale": 0.0,
"bs3mSalePrice": 0.0,
"bsStock": 1,
"social": 1,
"recycleUpdateTime": "string",
"images": "string",
"syncErp": true,
"imageList": [
"string"
],
"userId": 1,
"subUserName": "string",
"categoryDesc": "string",
"stockLocation": "string",
"bookFlag": true,
"mess": true,
"lastUpdatePriceTime": "string",
"bookCondition": "string",
"marketingTrend": "string",
"warehouseId": 1
}
}
返回字段(data)
| 字段 | 类型 | 说明 |
id | Integer | - |
levelNum | Integer | 评分 |
author | String | 作者 |
pubdate | String | 出版日期 |
binding | String | 装订 |
translator | String | 译者 |
pages | Integer | 页数 |
categoryId | String | - |
imagesLarge | String | - |
publisher | String | 出版社 |
isbn | String | isbn |
goodsSn | String | - |
title | String | 标题 |
price | BigDecimal | 原价 |
kaiben | String | 开本 |
version | String | 版本 |
wordCnt | String | - |
dtSource | 对象 | - |
subtitle | String | 副标题 |
summary | String | 简介 |
score | Double | score评分 |
label | String | - |
calisLabel | String | CALIS 分类标签 |
volume | String | 册数 |
updateTime | LocalDateTime | - |
addTime | LocalDateTime | - |
recycle | Boolean | - |
doubanScore | Double | - |
hasSub | Integer | - |
outmoded | Integer | - |
ban | Boolean | - |
sell | Integer | - |
demand | Integer | - |
contents | String | 内容 |
recommendWords | String | 推荐语 |
authorIntro | String | - |
weight | BigDecimal | - |
gds | 对象数组 | - |
sync | Boolean | - |
ownActiveCode | Boolean | 含激活码 |
oneIsbnMoreBook | Boolean | 一码多书 |
suitBook | Boolean | 套装书 |
imageMd5 | String | 图片md5 |
sourceTitle | String | - |
kfzMinPrice | BigDecimal | - |
bsMinPrice | BigDecimal | - |
humanPrice | BigDecimal | 人工定价 |
kfzStock | Integer | - |
humanCheck | Boolean | - |
recycleMarkType | 对象 | - |
recyclePrice | BigDecimal | - |
recycleScore | BigDecimal | - |
kfzSoldRate | BigDecimal | - |
kfzSoldAvgPrice | BigDecimal | - |
kfzWeekSell | Integer | 孔网销量/价格指标(同步自 业务数据) |
kfzMonthSell | Integer | - |
kfzThreeMonthSell | Integer | - |
kfzHalfYearSell | Integer | - |
kfzYearSell | Integer | - |
kfzAvgPrice | BigDecimal | - |
marketStock | Integer | 分销仓汇总库存(定时同步) |
marketStockTime | LocalDateTime | - |
bookDataSyncTime | LocalDateTime | - |
kfzSellShopCount | Integer | - |
kfzSellAvgPrice | Double | - |
kfzLastSoldDay | Double | - |
lastSaleDay | Double | - |
bs3mSale | Float | - |
bs3mSalePrice | Double | - |
bsStock | Integer | - |
social | Integer | - |
recycleUpdateTime | LocalDateTime | - |
images | String | - |
syncErp | Boolean | - |
imageList | Array<String> | - |
userId | Long | - |
subUserName | String | 最近一次实拍档案操作人(日志表查询填充,非表字段) |
categoryDesc | String | - |
stockLocation | String | - |
bookFlag | Boolean | - |
mess | Boolean | - |
lastUpdatePriceTime | LocalDateTime | - |
bookCondition | String | 图书品相(编码,如 p85、p0) |
marketingTrend | String | - |
warehouseId | Integer | - |
| …(字段较多,仅列前 60 个) |