品类订阅(读)
查看当前订阅了哪些品类的到货提醒。
| 请求方式 | GET/POST |
| 接口路径 | /api/recycle/merchant/sortSubscription/get |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
curl 调用
curl -s 'https://www.8shu8.com/api/recycle/merchant/sortSubscription/get' \
-H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"expireTime": "string",
"monthlyPrice": 0.0,
"standardMonthlyPrice": 0.0,
"longTermMonthlyPrice": 0.0,
"longTermFromMonths": 1,
"priceTip": "string",
"active": true,
"freeCount": 1,
"freeCountLimit": 1,
"freeRemaining": 1,
"freeScanTip": "string"
}
}
返回字段(data)
| 字段 | 类型 | 说明 |
expireTime | LocalDateTime | 订阅到期时间,无订阅记录时为 null |
monthlyPrice | BigDecimal | 当前档位月单价(按所选月数计算时可忽略,以 standard/longTerm 为准) |
standardMonthlyPrice | BigDecimal | 标准月单价(不足 12 个月) |
longTermMonthlyPrice | BigDecimal | 长订月单价(12 个月及以上) |
longTermFromMonths | int | 长订优惠起订月数 |
priceTip | String | 价格说明文案 |
active | boolean | - |
freeCount | Integer | 已用免费扫描次数(未订阅时累计) |
freeCountLimit | Integer | 免费扫描上限 |
freeRemaining | Integer | 剩余免费扫描次数 |
freeScanTip | String | 免费额度说明 |