**版本：202506**

# 查询闪购折扣列表

**GET** `/openapi/2025-06/discount_flash_sales`

返回店铺可用的闪购折扣列表。

## 请求

**Query参数**

- `cursor` string

  分页游标
- `page_size` int32

  返回对象数量限制，范围 1-250，默认 10
- `page` int32

  页码（从 1 开始），与 cursor 互斥
- `need_detail_url` boolean

  若为 true，则在响应中返回详情 URL

## 响应

**200**

OK

**application/json**

**数据结构 | 示例**

**数据结构**

- `code` string

  错误码
- `message` string

  错误信息
- `data` object

  - `flash_sales` object[]

    闪购活动

    *   Array [

    - `id` string

      折扣 ID
    - `title` string

      标题
    - `discount_type` string

      折扣类型
    - `once_per_customer` int32

      是否每位顾客只能使用一次
    - `starts_at` string

      开始时间
    - `ends_at` string

      结束时间
    - `status` int32

      状态
    - `sort` string

      排序配置
    - `allocation_method` string

      分配方式
    - `allow_oversold` string

      是否允许超卖
    - `progress` string

      进度
    - `product_num` int32

      商品数量
    - `detail_url` string

      详情页 URL
    - `apply_type` string

      应用类型
    - `create_source` string

      创建来源
    *   ]
  - `cursor` string

    分页游标
  - `has_more` boolean

    是否有更多记录
  - `total` int32

    全部页的总记录数(供 page 模式分页计算总页数)

```json
{
  "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,
    "total": 0
  }
}
```
