**Version: 202201**

# Discount Rebate List

**GET** `/openapi/2022-01/discount_rebates`

Retrieves a list of rebate discounts available for a shop.

## Request

**Query Parameters**

- `limit` int32

  Limit per page
- `page` int32

  Page number
- `need_detail_url` boolean

  details url return in responses

## Responses

**200 | 400**

200

**application/json**

**Schema | Example | Result**

**Schema**

- `page` integer

  **Default value:** `0`

  **Example:** `1`
- `limit` integer

  **Default value:** `0`

  **Example:** `20`
- `total` string

  **Example:** `1`
- `data` object[]

  *   Array [

  - `allocation_limit` string

    **Example:** `0`
  - `allocation_limit_amount` string

    **Example:** `0.0000`
  - `allocation_method` string

    **Example:** `across`
  - `customer_selection` string

    **Example:** `all`
  - `detail_url` string

    **Example:** `tzt.myshoplaza.com/promotions/rebate/47d2a827-e914-49e0-a14c-3161edb1ae9e`
  - `discount_type` string

    **Example:** `fixed_amount`
  - `ends_at` string

    **Example:** `-1`
  - `entitled_filter_ids` array
  - `entitled_filter_list` array
  - `entitled_product_ids` array
  - `global_show_text` string

    **Example:** `close`
  - `id` string

    **Example:** `47d2a827-e914-49e0-a14c-3161edb1ae9e`
  - `once_per_customer` string

    **Example:** `0`
  - `popups_id` string

    **Example:**
  - `popups_setting` string

    **Example:** `close`
  - `prerequisite` string

    **Example:** `1`
  - `prerequisite_customer_ids` array
  - `prerequisite_customer_range`
  - `prerequisite_customer_segment_ids` array
  - `prerequisite_quantity_range`
  - `prerequisite_subtotal_range` object[]

    *   Array [

    - `greater_than_or_equal_to` string

      **Example:** `123`
    - `value` string

      **Example:** `1`
    - `value_event_type` string

      **Example:**
    - `value_condition` string

      **Example:** `less_than_or_equal_to`
    - `target_type` string

      **Example:**
    - `target_data` array
    - `target_data_variant` array
    - `target_data_collection` array
    *   ]
  - `prerequisite_threshold_quantity_range`
  - `prerequisite_threshold_subtotal_range`
  - `product_num`
  - `progress` string

    **Example:** `ongoing`
  - `sort` string

    **Example:** `{"by":"title","direction":"asc"}`
  - `starts_at` string

    **Example:** `1682652084`
  - `status` string

    **Example:** `1`
  - `target_price_type` string

    **Example:** `combined_price`
  - `target_selection` string

    **Example:** `all`
  - `target_type` string

    **Example:**
  - `times_used` string

    **Example:** `0`
  - `title` string

    **Example:** `tzt-满减活动-吸引客户购买更多`
  - `usage_limit` string

    **Example:** `0`
  - `value` integer

    **Default value:** `0`

    **Example:** `0`
  - `value_type` string

    **Example:** `fixed_amount`
  - `variant_product_ids` array
  *   ]

```json
{
  "page": 1,
  "limit": 20,
  "total": "1",
  "data": [
    {
      "allocation_limit": "0",
      "allocation_limit_amount": "0.0000",
      "allocation_method": "across",
      "customer_selection": "all",
      "detail_url": "tzt.myshoplaza.com/promotions/rebate/47d2a827-e914-49e0-a14c-3161edb1ae9e",
      "discount_type": "fixed_amount",
      "ends_at": "-1",
      "entitled_filter_ids": [
        null
      ],
      "entitled_filter_list": [
        null
      ],
      "entitled_product_ids": [
        null
      ],
      "global_show_text": "close",
      "id": "47d2a827-e914-49e0-a14c-3161edb1ae9e",
      "once_per_customer": "0",
      "popups_id": "",
      "popups_setting": "close",
      "prerequisite": "1",
      "prerequisite_customer_ids": [
        null
      ],
      "prerequisite_customer_range": {},
      "prerequisite_customer_segment_ids": [
        null
      ],
      "prerequisite_quantity_range": {},
      "prerequisite_subtotal_range": [
        {
          "greater_than_or_equal_to": "123",
          "value": "1",
          "value_event_type": "",
          "value_condition": "less_than_or_equal_to",
          "target_type": "",
          "target_data": [
            null
          ],
          "target_data_variant": [
            null
          ],
          "target_data_collection": [
            null
          ]
        }
      ],
      "prerequisite_threshold_quantity_range": {},
      "prerequisite_threshold_subtotal_range": {},
      "product_num": {},
      "progress": "ongoing",
      "sort": "{\"by\":\"title\",\"direction\":\"asc\"}",
      "starts_at": "1682652084",
      "status": "1",
      "target_price_type": "combined_price",
      "target_selection": "all",
      "target_type": "",
      "times_used": "0",
      "title": "tzt-满减活动-吸引客户购买更多",
      "usage_limit": "0",
      "value": 0,
      "value_type": "fixed_amount",
      "variant_product_ids": [
        null
      ]
    }
  ]
}
```

```json
{
  "page": 1,
  "limit": 20,
  "total": "1",
  "data": [
    {
      "allocation_limit": "0",
      "allocation_limit_amount": "0.0000",
      "allocation_method": "across",
      "customer_selection": "all",
      "detail_url": "tzt.myshoplaza.com/promotions/rebate/47d2a827-e914-49e0-a14c-3161edb1ae9e",
      "discount_type": "fixed_amount",
      "ends_at": "-1",
      "entitled_filter_ids": [],
      "entitled_filter_list": [],
      "entitled_product_ids": [],
      "global_show_text": "close",
      "id": "47d2a827-e914-49e0-a14c-3161edb1ae9e",
      "once_per_customer": "0",
      "popups_id": "",
      "popups_setting": "close",
      "prerequisite": "1",
      "prerequisite_customer_ids": [],
      "prerequisite_customer_range": null,
      "prerequisite_customer_segment_ids": [],
      "prerequisite_quantity_range": null,
      "prerequisite_subtotal_range": [
        {
          "greater_than_or_equal_to": "123",
          "value": "1",
          "value_event_type": "",
          "value_condition": "less_than_or_equal_to",
          "target_type": "",
          "target_data": [],
          "target_data_variant": [],
          "target_data_collection": []
        }
      ],
      "prerequisite_threshold_quantity_range": null,
      "prerequisite_threshold_subtotal_range": null,
      "product_num": null,
      "progress": "ongoing",
      "sort": "{\"by\":\"title\",\"direction\":\"asc\"}",
      "starts_at": "1682652084",
      "status": "1",
      "target_price_type": "combined_price",
      "target_selection": "all",
      "target_type": "",
      "times_used": "0",
      "title": "tzt-满减活动-吸引客户购买更多",
      "usage_limit": "0",
      "value": 0,
      "value_type": "fixed_amount",
      "variant_product_ids": []
    }
  ]
}
```

400

**application/json**

No schema
