版本:202506
查询闪购折扣列表
GET/openapi/2025-06/discount_flash_sales
返回店铺可用的闪购折扣列表。
请求
Query参数
cursor string
分页游标
page_size int32
返回对象数量限制,范围 1-250,默认 10
need_detail_url boolean
若为 true,则在响应中返回详情 URL
响应
- 200
OK
- application/json
- 数据结构
- 示例
数据结构
- Array [
- ]
codestring
错误码
messagestring
错误信息
data object
flash_sales object[]
闪购活动
idstring
折扣 ID
titlestring
标题
discount_typestring
折扣类型
once_per_customerint32
是否每位顾客只能使用一次
starts_atstring
开始时间
ends_atstring
结束时间
statusint32
状态
sortstring
排序配置
allocation_methodstring
分配方式
allow_oversoldstring
是否允许超卖
progressstring
进度
product_numint32
商品数量
detail_urlstring
详情页 URL
apply_typestring
应用类型
create_sourcestring
创建来源
cursorstring
分页游标
has_moreboolean
是否有更多记录
{
"code": "string",
"message": "string",
"data": {
"flash_sales": [
{
"id": "string",
"title": "string",
"discount_type": "string",
"once_per_customer": 0,
"starts_at": "string",
"ends_at": "string",
"status": 0,
"sort": "string",
"allocation_method": "string",
"allow_oversold": "string",
"progress": "string",
"product_num": 0,
"detail_url": "string",
"apply_type": "string",
"create_source": "string"
}
],
"cursor": "string",
"has_more": true
}
}