开放平台

扒书 ERP Open API

估价公式参数(读)

读取当前回收估价用的公式参数(系数、上下限等)。

请求方式GET/POST
接口路径/api/recycle/predicate/assessPriceFormula
Content-Type-
鉴权X-Nideshop-Token

curl 调用

curl -s 'https://www.8shu8.com/api/recycle/predicate/assessPriceFormula' \
  -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'

响应示例

{
  "code": 200,
  "message": "操作成功",
  "success": true,
  "data": {
    "KV_KEY": "string",
    "minAvgPrice": 0.0,
    "minHalfYearSell": 1,
    "sellWeightMax": 0.0,
    "sellWeightMin": 0.0,
    "sellWeightBase": 0.0,
    "priceWeightMax": 0.0,
    "priceWeightMin": 0.0,
    "priceWeightBase": 0.0,
    "finalMultiplier": 0.0
  }
}

返回字段(data)

字段类型说明
KV_KEYString-
minAvgPricedouble均价下限(> 此值才进入公式)
minHalfYearSellint半年销量下限(> 此值才进入公式)
sellWeightMaxdouble销量权重:scaleByProportion 的 returnMax
sellWeightMindouble销量权重:scaleByProportion 的 returnMin
sellWeightBasedouble销量权重:scaleByProportion 的 baseValue(对比近三月销量)
priceWeightMaxdouble价格权重:scaleByProportion 的 returnMax
priceWeightMindouble价格权重:scaleByProportion 的 returnMin
priceWeightBasedouble价格权重:scaleByProportion 的 baseValue(对比均价)
finalMultiplierdouble最终乘数:recyclePrice = sellWeight × priceWeight × finalMultiplier × avgPrice