- 评论
- souring相关
- 站点->sourcing
- 购物车 -> 购物车
- 个人中心->订单管理
- 产品->详情
- 订单 -> 订单
- 站点->支付方式
- 产品搜索->列表
- 购物车 -> 结算
- 商品详情->激光定制
- 商品定制
- 多买多奖
购买过查询
POST
/st-pse/product/has-order
请求参数
Body 参数application/json
pageNum
integer
页码
默认值:
1
pageSize
integer
每页显示数量
默认值:
30
sortParam
object (SearchEngineSortParam)
排序参数
sortField
enum<string>
可选
排序字段 discount折扣
枚举值:
minPricenewDatediscountsalesCountthreeDaySalesMoneysevenDaySalesMoneyfifteenDaySalesMoneythirtyDaySalesMoneynewCustomerThreeDaySalesMoneynewCustomerSevenDaySalesMoneynewCustomerFifteenDaySalesMoneynewCustomerThirtyDaySalesMoneysevenDaySalesCountthirtyDaySalesCountsixtyDaySalesCountclickCountreviewScorercrcRecommendcategoryRecommendmxSiteFreeShiplocalWarehouseInventorywarehouseInventorynewProductidspuSortoldScorenewScore
sortOrder
string
可选
示例
{
"pageNum": 1,
"pageSize": 30,
"sortParam": {
"sortField": "minPrice",
"sortOrder": "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/has-order' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageNum": 1,
"pageSize": 30,
"sortParam": {
"sortField": "minPrice",
"sortOrder": "string"
}
}'
返回响应
🟢200成功
application/json
Body
pageNum
integer
可选
pageSize
integer
可选
list
array[object (SiteProductVO) {39}]
可选
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}]
活动配置信息
salesCount
integer
销量
reviewScore
number
评价
reviewNum
integer
评论数
discount
number
折扣
isSubscriptFlag
boolean
是否显示活动角标
默认值:
true
inventoryType
integer
仓库类型
默认值:
0
shipOutDays
array[string]
发货时间
eventAttributionProperties
object (MapObject)
事件属性集
addList
boolean
可选
默认值:
false
isPublished
boolean
是否已刊登
默认值:
false
id
integer
可选
默认值:
0
newScore
number
新品排序分
oldScore
number
老品排序分
hasOrder
boolean
是否下单过
bestSellerResult
object (BestSellerResult)
榜单信息
supplierBrandImg
string
供应商图片透明图
isCustomize
boolean
可选
isLaserCustomize
boolean
可选
minWeight
integer
最小重量
miniSale
integer
最小起订量
extraType
integer
可选
0-普通
1-oem或爆款砍价商品
默认值:
0
total
integer
可选
示例
{
"pageNum": 0,
"pageSize": 0,
"list": [
{
"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
}
],
"total": 0
}
修改于 2025-05-22 06:26:27