**Version: 202506**

# List discount rebates

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

Retrieves a list of rebate discounts available for a shop.

## Request

**Query Parameters**

- `cursor` string

  Cursor for pagination, use the cursor from the response to retrieve the next page
- `page_size` int32

  A limit on the number of objects to be returned. Ranges from 1 to 250. Default is 10
- `page` int32

  Page number (1-based). Mutually exclusive with cursor
- `need_detail_url` boolean

  If true, returns detail URLs in the response

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `rebates` object[]

    List of rebates

    *   Array [

    - `allocation_limit` int32

      Allocation limit
    - `allocation_limit_amount` float

      Allocation limit amount
    - `allocation_method` string

      Allocation method
    - `customer_selection` string

      Customer selection criteria
    - `detail_url` string

      Detail page URL
    - `discount_type` string

      Discount type
    - `ends_at` string

      End timestamp
    - `entitled_filter_ids` string[]

      Entitled filter IDs
    - `entitled_filter_list` string[]

      Deprecated: use entitled_filter_detail_list instead.
    - `entitled_filter_detail_list` object[]

      List of entitled filters

      *   Array [

      - `id` string

        Filter ID
      - `starts_at` string

        Start time in RFC3339 format (e.g., 2020-06-15T16:00:00Z)
      - `ends_at` string

        End time in RFC3339 format; empty means it never expires
      *   ]
    - `entitled_product_ids` string[]

      Entitled product IDs
    - `global_show_text` string

      Global show text
    - `id` string

      Discount ID
    - `once_per_customer` int32

      Whether usable once per customer
    - `popups_id` string

      Popup ID
    - `popups_setting` string

      Popup settings
    - `prerequisite` int32

      Prerequisite condition
    - `prerequisite_customer_ids` string[]

      List of prerequisite customer IDs
    - `prerequisite_customer_range` string

      Customer prerequisite range
    - `prerequisite_customer_segment_ids` string[]

      Customer segment prerequisite IDs
    - `prerequisite_quantity_range` object[]

      Quantity prerequisite range

      *   Array [

      - `greater_than_or_equal_to` string

        Greater than or equal to value
      - `value` string

        The value
      - `value_percentage` string

        Percentage value
      - `value_event_type` string

        Value event type
      - `value_condition` string

        Value condition
      - `target_type` string

        Target type
      - `target_data` string[]

        Target data
      *   ]
    - `prerequisite_subtotal_range` object[]

      Subtotal prerequisite range

      *   Array [

      - `greater_than_or_equal_to` string

        Greater than or equal to value
      - `value` string

        The value
      - `value_percentage` string

        Percentage value
      - `value_event_type` string

        Value event type
      - `value_condition` string

        Value condition
      - `target_type` string

        Target type
      - `target_data` string[]

        Target data
      *   ]
    - `prerequisite_threshold_quantity_range` string

      Threshold quantity range
    - `prerequisite_threshold_subtotal_range` string

      Threshold subtotal range
    - `product_num` int32

      Number of products
    - `progress` string

      Progress
    - `sort` string

      Sort configuration
    - `starts_at` string

      Start timestamp
    - `target_price_type` string

      Target price type
    - `target_selection` string

      Target selection
    - `target_type` string

      Target type
    - `times_used` int32

      Number of times used
    - `title` string

      Title
    - `usage_limit` int32

      Usage limit. -1 means unlimited
    - `value` float

      The value
    - `value_type` string

      Value type
    - `variant_product_ids` string[]

      Product IDs of variants
    - `discount_channel_list` object[]

      List of discount channels

      *   Array [

      - `channel_type` string

        Type of channel
      - `channel_status` int32

        Status of channel
      - `location_ids` string[]

        List of location IDs
      *   ]
    - `entitled_area_list` object[]

      List of entitled areas

      *   Array [

      - `country_code` string

        Country code (e.g., CN)
      - `province_codes` string[]

        List of province codes
      *   ]
    - `entitled_collection_ids` string[]

      Entitled collection IDs
    - `entitled_variant_ids` string[]

      Entitled variant IDs
    - `status` string

      Status
    - `entitled_extra_list` object[]

      List of extra entitled items

      *   Array [

      - `id` string

        ID
      - `sort` int32

        Sort configuration
      *   ]
    *   ]
  - `cursor` string

    Cursor for pagination
  - `has_more` boolean

    Whether there are more records
  - `total` int32

    Total number of records across all pages (for page-mode pagination)

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "rebates": [
      {
        "allocation_limit": 0,
        "allocation_limit_amount": 0,
        "allocation_method": "string",
        "customer_selection": "string",
        "detail_url": "string",
        "discount_type": "string",
        "ends_at": "string",
        "entitled_filter_ids": [
          "string"
        ],
        "entitled_filter_list": [
          "string"
        ],
        "entitled_filter_detail_list": [
          {
            "id": "string",
            "starts_at": "string",
            "ends_at": "string"
          }
        ],
        "entitled_product_ids": [
          "string"
        ],
        "global_show_text": "string",
        "id": "string",
        "once_per_customer": 0,
        "popups_id": "string",
        "popups_setting": "string",
        "prerequisite": 0,
        "prerequisite_customer_ids": [
          "string"
        ],
        "prerequisite_customer_range": "string",
        "prerequisite_customer_segment_ids": [
          "string"
        ],
        "prerequisite_quantity_range": [
          {
            "greater_than_or_equal_to": "string",
            "value": "string",
            "value_percentage": "string",
            "value_event_type": "string",
            "value_condition": "string",
            "target_type": "string",
            "target_data": [
              "string"
            ]
          }
        ],
        "prerequisite_subtotal_range": [
          {
            "greater_than_or_equal_to": "string",
            "value": "string",
            "value_percentage": "string",
            "value_event_type": "string",
            "value_condition": "string",
            "target_type": "string",
            "target_data": [
              "string"
            ]
          }
        ],
        "prerequisite_threshold_quantity_range": "string",
        "prerequisite_threshold_subtotal_range": "string",
        "product_num": 0,
        "progress": "string",
        "sort": "string",
        "starts_at": "string",
        "target_price_type": "string",
        "target_selection": "string",
        "target_type": "string",
        "times_used": 0,
        "title": "string",
        "usage_limit": 0,
        "value": 0,
        "value_type": "string",
        "variant_product_ids": [
          "string"
        ],
        "discount_channel_list": [
          {
            "channel_type": "string",
            "channel_status": 0,
            "location_ids": [
              "string"
            ]
          }
        ],
        "entitled_area_list": [
          {
            "country_code": "string",
            "province_codes": [
              "string"
            ]
          }
        ],
        "entitled_collection_ids": [
          "string"
        ],
        "entitled_variant_ids": [
          "string"
        ],
        "status": "string",
        "entitled_extra_list": [
          {
            "id": "string",
            "sort": 0
          }
        ]
      }
    ],
    "cursor": "string",
    "has_more": true,
    "total": 0
  }
}
```
