开放平台

扒书 ERP Open API

提交档案变更

手持机上改档案时提交审核:新增的直接通过,修改的进待审,等后台确认后才生效。

请求方式POST
接口路径/api/isbn/submitArchiveAudit
Content-Typeapplication/json
鉴权X-Nideshop-Token

请求体字段

字段类型必填说明
idInteger否-
levelNumInteger否评分
authorString否作者
pubdateString否出版日期
bindingString否装订
translatorString否译者
pagesInteger否页数
categoryIdString否-
imagesLargeString否-
publisherString否出版社
isbnString否isbn
goodsSnString否-
titleString是标题
priceBigDecimal是原价
kaibenString否开本
versionString否版本
wordCntString否-
dtSource对象否-
subtitleString否副标题
summaryString否简介
scoreDouble否score评分
labelString否-
calisLabelString否CALIS 分类标签
volumeString否册数
updateTimeLocalDateTime否-
addTimeLocalDateTime否-
recycleBoolean否-
doubanScoreDouble否-
hasSubInteger否-
outmodedInteger否-
banBoolean否-
sellInteger否-
demandInteger否-
contentsString否内容
recommendWordsString否推荐语
authorIntroString否-
weightBigDecimal否-
gds对象数组否-
syncBoolean否-
ownActiveCodeBoolean否含激活码
oneIsbnMoreBookBoolean否一码多书
suitBookBoolean否套装书
imageMd5String否图片md5
sourceTitleString否-
kfzMinPriceBigDecimal否-
bsMinPriceBigDecimal否-
humanPriceBigDecimal否人工定价
kfzStockInteger否-
humanCheckBoolean否-
recycleMarkType对象否-
recyclePriceBigDecimal否-
recycleScoreBigDecimal否-
kfzSoldRateBigDecimal否-
kfzSoldAvgPriceBigDecimal否-
kfzWeekSellInteger否孔网销量/价格指标(同步自 业务数据)
kfzMonthSellInteger否-
kfzThreeMonthSellInteger否-
kfzHalfYearSellInteger否-
kfzYearSellInteger否-
kfzAvgPriceBigDecimal否-
marketStockInteger否分销仓汇总库存(定时同步)
marketStockTimeLocalDateTime否-
bookDataSyncTimeLocalDateTime否-
kfzSellShopCountInteger否-
kfzSellAvgPriceDouble否-
kfzLastSoldDayDouble否-
lastSaleDayDouble否-
bs3mSaleFloat否-
bs3mSalePriceDouble否-
bsStockInteger否-
socialInteger否-
recycleUpdateTimeLocalDateTime否-
imagesString否-
syncErpBoolean否-
imageListArray<String>否-
userIdLong否-
subUserNameString否最近一次实拍档案操作人(日志表查询填充,非表字段)
categoryDescString否-
stockLocationString否-
bookFlagBoolean否-
messBoolean否-
lastUpdatePriceTimeLocalDateTime否-
bookConditionString否图书品相(编码,如 p85、p0)
marketingTrendString否-
warehouseIdInteger否-
…(字段较多,仅列前 60 个)

curl 调用

curl -s 'https://www.8shu8.com/api/isbn/submitArchiveAudit' \
  -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "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
}'

响应示例

{
  "code": 200,
  "message": "操作成功",
  "success": true,
  "data": {
    "auditId": 1,
    "auditType": "string",
    "auditStatus": "string",
    "auditStatusLabel": "string",
    "message": "string",
    "aiApproved": true,
    "aiReason": "string"
  }
}

返回字段(data)

字段类型说明
auditIdLong-
auditTypeString-
auditStatusString-
auditStatusLabelString审核状态中文
messageString-
aiApprovedBooleanAI 是否建议通过,null 表示未调用或不可用
aiReasonStringAI 审核说明