- 评论
- souring相关
- 站点->sourcing
- 购物车 -> 购物车
- 个人中心->订单管理
- 产品->详情
- 订单 -> 订单
- 站点->支付方式
- 产品搜索->列表
- 购物车 -> 结算
- 商品详情->激光定制
- 商品定制
- 多买多奖
根据spues获取商品列表
POST
/st-pse/product/products
请求参数
Body 参数application/json
array[string]
可选
示例
[
"string"
]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.nihaocloud.cn/st-pse/product/products' \
--header 'Content-Type: application/json' \
--data-raw '[
"string"
]'
返回响应
🟢200成功
application/json
Body
array of:
spu
string
可选
img
string
可选
video
string
视频链接
videoCover
string
视频封面图
minPrice
number
可选
maxPrice
number
可选
productName
string
可选
productNameEnUrl
string
商品英文名Url
minDiscountPrice
number
折扣价
maxDiscountPrice
number
可选
steerMaxPrice
number
可选
steerMinPrice
number
可选
stagingMaxPrice
number
分期价格
stagingMinPrice
number
可选
detailUrl
string
可选
skuImages
string
sku图片集合
activityCode
array[integer]
活动编码列表
默认值:
new HashSet<>()
activityConfigList
array[object (SiteActivityConfigVo) {9}]
活动配置信息
activityCode
integer
活动编码
currentDate
string
当前时间
countDownTime
integer
活动结束时间秒
detailStyleConfig
object (StyleConfig)
详情页活动配置
listStyleConfig
object (StyleConfig)
列表页活动配置
sort
integer
活动优先级
endMatch
boolean
是否结束匹配
activityType
string
可选
折扣活动 展示折扣
discount
countDownLimit
integer
显示时间限制
salesCount
integer
销量
reviewScore
number
评价
reviewNum
integer
评论数
discount
number
折扣
isSubscriptFlag
boolean
是否显示活动角标
默认值:
true
inventoryType
integer
仓库类型
默认值:
0
shipOutDays
array[string]
发货时间
eventAttributionProperties
object (MapObject)
事件属性集
key
object (key)
可选
addList
boolean
可选
默认值:
false
isPublished
boolean
是否已刊登
默认值:
false
id
integer
可选
默认值:
0
newScore
number
新品排序分
oldScore
number
老品排序分
hasOrder
boolean
是否下单过
bestSellerResult
object (BestSellerResult)
榜单信息
mainCategoryId
integer
主类目id
mainCategoryName
string
主类目名称
rank
integer
当前排名
rank10d
integer
10天排名
supplierBrandImg
string
供应商图片透明图
isCustomize
boolean
可选
isLaserCustomize
boolean
可选
minWeight
integer
最小重量
miniSale
integer
最小起订量
extraType
integer
可选
0-普通
1-oem或爆款砍价商品
默认值:
0
示例
[
{
"spu": "",
"img": "",
"video": "",
"videoCover": "",
"minPrice": 0.0,
"maxPrice": 0.0,
"productName": "",
"productNameEnUrl": "",
"minDiscountPrice": 0.0,
"maxDiscountPrice": 0.0,
"steerMaxPrice": 0.0,
"steerMinPrice": 0.0,
"stagingMaxPrice": 0.0,
"stagingMinPrice": 0.0,
"detailUrl": "",
"skuImages": "",
"activityCode": [
0
],
"activityConfigList": [
{
"activityCode": 0,
"currentDate": "",
"countDownTime": 0,
"detailStyleConfig": {
"icon": "",
"pcW": 0,
"pcH": 0,
"h5W": 0,
"h5H": 0,
"appSize": "",
"iconPosition": "",
"title": "",
"fontSize": "",
"titleColor": "",
"namePrefix": "",
"namePrefixColor": "",
"countDownColor": "",
"countDownIcon": "",
"showCountDown": false,
"linkUrl": "",
"actType": "",
"bgType": 0,
"bgColor": "",
"bgImg": ""
},
"listStyleConfig": {
"icon": "",
"pcW": 0,
"pcH": 0,
"h5W": 0,
"h5H": 0,
"appSize": "",
"iconPosition": "",
"title": "",
"fontSize": "",
"titleColor": "",
"namePrefix": "",
"namePrefixColor": "",
"countDownColor": "",
"countDownIcon": "",
"showCountDown": false,
"linkUrl": "",
"actType": "",
"bgType": 0,
"bgColor": "",
"bgImg": ""
},
"sort": 0,
"endMatch": false,
"activityType": "",
"countDownLimit": 0
}
],
"salesCount": 0,
"reviewScore": 0.0,
"reviewNum": 0,
"discount": 0.0,
"isSubscriptFlag": false,
"inventoryType": 0,
"shipOutDays": [
""
],
"eventAttributionProperties": {
"": {}
},
"addList": false,
"isPublished": false,
"id": 0,
"newScore": 0.0,
"oldScore": 0.0,
"hasOrder": false,
"bestSellerResult": {
"mainCategoryId": 0,
"mainCategoryName": "",
"rank": 0,
"rank10d": 0
},
"supplierBrandImg": "",
"isCustomize": false,
"minWeight": 0,
"miniSale": 0
}
]
修改于 2025-05-22 06:26:27