跳到主要内容
版本:202506

查询闪购折扣列表

GET 

/openapi/2025-06/discount_flash_sales

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

请求

Query参数

    cursor string

    分页游标

    page_size int32

    返回对象数量限制,范围 1-250,默认 10

    need_detail_url boolean

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

响应

OK

数据结构
    codestring

    错误码

    messagestring

    错误信息

    data object
    flash_sales object[]

    闪购活动

  • Array [
  • 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

    是否有更多记录