**Version: 202506**

# List popups

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

Retrieves a list of popups available for a shop.

## Request

**Query Parameters**

- `cursor` string

  Cursor for pagination
- `page_size` int32

  Page size for the number of popup to retrieve. Default to 8
- `page` int32

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

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `popups` object[]

    List of popups

    *   Array [

    - `abrogation_condition` object

      Abrogation condition

      - `trigger_num` int32

        Trigger number
      - `closed` int32

        Whether closed
      - `participated` int32

        Whether participated
      - `auto_close_num` int32

        Auto close number
    - `activity_id` string

      Activity ID
    - `activity_type` string

      Activity type
    - `app_type` string

      App type
    - `cart_amount` object

      Cart amount

      - `limit` int32

        Limit
      - `min` float

        Minimum value
      - `max` float

        Maximum value
    - `cart_num` object

      Number of cart items

      - `limit` int32

        Limit
      - `min` int32

        Minimum value
      - `max` int32

        Maximum value
    - `config` object

      Configuration

      - `global` object

        Global

        - `sections` object

          List of sections

          - `modal` string[]

            Modal
          - `content` string[]

            Content
          - `activity` string[]

            Activity
          - `activity_url` string[]

            Activity URL
          - `global` string[]

            Global
        - `overlay` object

          Overlay

          - `type` string

            Type
          - `style` object

            Style

            - `background_color` string

              Background color
        - `setting` object

          Setting

          - `type` string

            Type
          - `value` object

            The value

            - `device_type` string

              Device type
            - `position` string

              Position or sort order
            - `fixed` string

              Fixed
            - `prerequisite_type` string

              Type of prerequisite
        - `modal_size` object

          Modal size

          - `type` string

            Type
          - `style` object

            Style

            - `width` string

              Width dimension
        - `link` object

          Link

          - `type` string

            Type
          - `value` string

            The value
      - `basic_setting` object

        Basic settings

        - `sections` object

          List of sections

          - `modal` string[]

            Modal
          - `content` string[]

            Content
          - `activity` string[]

            Activity
          - `activity_url` string[]

            Activity URL
          - `global` string[]

            Global
        - `select_activity` object

          Select activity

          - `type` string

            Type
          - `activity_name` string

            Activity name
          - `prerequisite_array` object[]

            Array of prerequisite conditions

            *   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
            *   ]
        - `activity_url` object

          Activity URL

          - `type` string

            Type
          - `value` string

            The value
      - `advanced_setting` object

        Advanced settings

        - `sections` object

          List of sections

          - `modal` string[]

            Modal
          - `content` string[]

            Content
          - `activity` string[]

            Activity
          - `activity_url` string[]

            Activity URL
          - `global` string[]

            Global
        - `modal` object

          Modal

          - `type` string

            Type
          - `style` object

            Style

            - `image` string

              Image
            - `background` string

              Background
            - `background1` string

              Background (primary)
            - `background2` string

              Background (secondary)
            - `background_image_template` string

              Background image template
            - `width` int32

              Width dimension
        - `title` object

          Title

          - `type` string

            Type
          - `value` string

            The value
          - `style` object

            Style

            - `background_color` string

              Background color
        - `coupon_content` object

          Coupon content

          - `type` string

            Type
          - `title_name` string

            Title name
          - `single` object

            Whether single

            - `amount_percentage` object

              Amount percentage

              - `value` string

                The value
              - `style` object

                Style

                - `background_color` string

                  Background color
            - `item_fixed_amount` object

              Item fixed discount amount

              - `value` string

                The value
              - `style` object

                Style

                - `background_color` string

                  Background color
            - `fixed_amount` object

              Fixed amount

              - `value` string

                The value
              - `style` object

                Style

                - `background_color` string

                  Background color
            - `percentage` object

              Percentage

              - `across` object

                Across

                - `value` string

                  The value
              - `each` object

                Each

                - `value` string

                  The value
              - `style` object

                Style

                - `background_color` string

                  Background color
        - `coupon` object

          Coupon

          - `type` string

            Type
          - `style` object

            Style

            - `color` string

              Color
            - `background_color` string

              Background color
          - `title_name` string

            Title name
        - `declaration` object

          Declaration

          - `type` string

            Type
          - `title_name` string

            Title name
          - `value` string

            The value
          - `style` object

            Style

            - `background_color` string

              Background color
        - `main_button` object

          Main button

          - `type` string

            Type
          - `value` string

            The value
          - `style` object

            Style

            - `background_color` string

              Background color
            - `border_color` string

              Border color
        - `close_button` object

          Close button

          - `type` string

            Type
          - `modifier` string

            Modifier
          - `tool_show_close_btn` boolean

            Whether to show tool close button
          - `show_close_btn` boolean

            Whether to show close button
          - `style` object

            Style

            - `color` string

              Color
      - `first_page` object

        First page

        - `sections` object

          List of sections

          - `modal` string[]

            Modal
          - `content` string[]

            Content
          - `activity` string[]

            Activity
          - `activity_url` string[]

            Activity URL
          - `global` string[]

            Global
        - `modal` object

          Modal

          - `type` string

            Type
          - `style` object

            Style

            - `image` string

              Image
            - `background` string

              Background
            - `background1` string

              Background (primary)
            - `background2` string

              Background (secondary)
            - `background_image_template` string

              Background image template
            - `width` int32

              Width dimension
        - `title` object

          Title

          - `type` string

            Type
          - `value` string

            The value
          - `style` object

            Style

            - `background_color` string

              Background color
        - `description` object

          Description

          - `type` string

            Type
          - `value` string

            The value
        - `input` object

          Input

          - `type` string

            Type
          - `style` object

            Style

            - `background_color` string

              Background color
            - `border_color` string

              Border color
            - `color` string

              Color
        - `button1` object

          Button 1

          - `type` string

            Type
          - `modifier` string

            Modifier
          - `url` object

            URL

            - `type` string

              Type
            - `value` string

              The value
          - `value` string

            The value
          - `style` object

            Style

            - `background_color` string

              Background color
            - `border_color` string

              Border color
          - `url_str` string

            URL string
        - `button2` object

          Button 2

          - `type` string

            Type
          - `modifier` string

            Modifier
          - `url` object

            URL

            - `type` string

              Type
            - `value` string

              The value
          - `value` string

            The value
          - `style` object

            Style

            - `background_color` string

              Background color
            - `border_color` string

              Border color
          - `url_str` string

            URL string
        - `rebate` object

          Rebate

          - `type` string

            Type
          - `rebate_id` string

            Rebate ID
          - `rebate_name` string

            Rebate name
          - `rebate_not_match_text` string

            Rebate not-match text
          - `rebate_match_text` string

            Rebate match text
        - `shipping` object

          Shipping information

          - `type` string

            Type
          - `shipping_id` string

            Shipping ID
          - `shipping_name` string

            Shipping method name
          - `shipping_not_match_text` string

            Shipping not-match text
          - `shipping_match_text` string

            Shipping match text
      - `second_page` object

        Second page

        - `sections` object

          List of sections

          - `modal` string[]

            Modal
          - `content` string[]

            Content
          - `activity` string[]

            Activity
          - `activity_url` string[]

            Activity URL
          - `global` string[]

            Global
        - `modal` object

          Modal

          - `type` string

            Type
          - `style` object

            Style

            - `image` string

              Image
            - `background` string

              Background
            - `background1` string

              Background (primary)
            - `background2` string

              Background (secondary)
            - `background_image_template` string

              Background image template
            - `width` int32

              Width dimension
        - `title` object

          Title

          - `type` string

            Type
          - `value` string

            The value
          - `style` object

            Style

            - `background_color` string

              Background color
        - `description` object

          Description

          - `type` string

            Type
          - `value` string

            The value
        - `coupon` object

          Coupon

          - `type` string

            Type
          - `style` object

            Style

            - `color` string

              Color
            - `background_color` string

              Background color
          - `title_name` string

            Title name
        - `button1` object

          Button 1

          - `type` string

            Type
          - `modifier` string

            Modifier
          - `url` object

            URL

            - `type` string

              Type
            - `value` string

              The value
          - `value` string

            The value
          - `style` object

            Style

            - `background_color` string

              Background color
            - `border_color` string

              Border color
          - `url_str` string

            URL string
    - `conversion_rate` string

      Conversion rate
    - `coupon_code` string

      Coupon code
    - `create_type` string

      Creation type
    - `discount_type` string

      Discount type
    - `ends_at` string

      End timestamp
    - `exposure` string

      Exposure count
    - `frequency_num` string

      Frequency number
    - `frequency_type` string

      Frequency type
    - `id` string

      Popup ID
    - `name` string

      Name
    - `opportunity` string

      Opportunity
    - `order_amount` object

      Order amount

      - `limit` int32

        Limit
      - `min` float

        Minimum value
      - `max` float

        Maximum value
    - `order_num` object

      Number of orders

      - `limit` int32

        Limit
      - `min` int32

        Minimum value
      - `max` int32

        Maximum value
    - `p_created_at` string

      Product creation timestamp
    - `p_updated_at` string

      Product update timestamp
    - `pa_updated_at` string

      Product-attribute update timestamp
    - `pages_type` string

      Type of page
    - `progress` string

      Progress
    - `resource_id` string

      Resource ID
    - `starts_at` string

      Start timestamp
    - `status` string

      Status
    - `subscribe` string

      Subscribe
    - `target_user` string

      Target user
    - `theme` string

      Theme
    - `type` string

      Type
    - `user_login` string

      User login
    - `user_subscribe` string

      User subscribe
    - `wait_seconds` string

      Wait seconds
    - `activity_detail` object

      Activity detail

      - `id` string

        Activity detail ID
      - `title` string

        Title
      - `price_rule_id` string

        Price rule ID
      - `discount_type` string

        Discount type
      - `starts_at` string

        Start timestamp
      - `ends_at` string

        End timestamp
      - `status` string

        Status
      - `popups_setting` string

        Popup settings
      - `global_show_text` string

        Global show text
      - `popups_id` string

        Popup ID
      - `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
        *   ]
      - `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_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
        *   ]
      - `allocation_method` string

        Allocation method
    *   ]
  - `cursor` string

    The cursor for the next page of results
  - `has_more` boolean

    Whether there are more results

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "popups": [
      {
        "abrogation_condition": {
          "trigger_num": 0,
          "closed": 0,
          "participated": 0,
          "auto_close_num": 0
        },
        "activity_id": "string",
        "activity_type": "string",
        "app_type": "string",
        "cart_amount": {
          "limit": 0,
          "min": 0,
          "max": 0
        },
        "cart_num": {
          "limit": 0,
          "min": 0,
          "max": 0
        },
        "config": {
          "global": {
            "sections": {
              "modal": [
                "string"
              ],
              "content": [
                "string"
              ],
              "activity": [
                "string"
              ],
              "activity_url": [
                "string"
              ],
              "global": [
                "string"
              ]
            },
            "overlay": {
              "type": "string",
              "style": {
                "background_color": "string"
              }
            },
            "setting": {
              "type": "string",
              "value": {
                "device_type": "string",
                "position": "string",
                "fixed": "string",
                "prerequisite_type": "string"
              }
            },
            "modal_size": {
              "type": "string",
              "style": {
                "width": "string"
              }
            },
            "link": {
              "type": "string",
              "value": "string"
            }
          },
          "basic_setting": {
            "sections": {
              "modal": [
                "string"
              ],
              "content": [
                "string"
              ],
              "activity": [
                "string"
              ],
              "activity_url": [
                "string"
              ],
              "global": [
                "string"
              ]
            },
            "select_activity": {
              "type": "string",
              "activity_name": "string",
              "prerequisite_array": [
                {
                  "greater_than_or_equal_to": "string",
                  "value": "string",
                  "value_percentage": "string",
                  "value_event_type": "string",
                  "value_condition": "string",
                  "target_type": "string",
                  "target_data": [
                    "string"
                  ]
                }
              ]
            },
            "activity_url": {
              "type": "string",
              "value": "string"
            }
          },
          "advanced_setting": {
            "sections": {
              "modal": [
                "string"
              ],
              "content": [
                "string"
              ],
              "activity": [
                "string"
              ],
              "activity_url": [
                "string"
              ],
              "global": [
                "string"
              ]
            },
            "modal": {
              "type": "string",
              "style": {
                "image": "string",
                "background": "string",
                "background1": "string",
                "background2": "string",
                "background_image_template": "string",
                "width": 0
              }
            },
            "title": {
              "type": "string",
              "value": "string",
              "style": {
                "background_color": "string"
              }
            },
            "coupon_content": {
              "type": "string",
              "title_name": "string",
              "single": {
                "amount_percentage": {
                  "value": "string",
                  "style": {
                    "background_color": "string"
                  }
                },
                "item_fixed_amount": {
                  "value": "string",
                  "style": {
                    "background_color": "string"
                  }
                },
                "fixed_amount": {
                  "value": "string",
                  "style": {
                    "background_color": "string"
                  }
                },
                "percentage": {
                  "across": {
                    "value": "string"
                  },
                  "each": {
                    "value": "string"
                  },
                  "style": {
                    "background_color": "string"
                  }
                }
              }
            },
            "coupon": {
              "type": "string",
              "style": {
                "color": "string",
                "background_color": "string"
              },
              "title_name": "string"
            },
            "declaration": {
              "type": "string",
              "title_name": "string",
              "value": "string",
              "style": {
                "background_color": "string"
              }
            },
            "main_button": {
              "type": "string",
              "value": "string",
              "style": {
                "background_color": "string",
                "border_color": "string"
              }
            },
            "close_button": {
              "type": "string",
              "modifier": "string",
              "tool_show_close_btn": true,
              "show_close_btn": true,
              "style": {
                "color": "string"
              }
            }
          },
          "first_page": {
            "sections": {
              "modal": [
                "string"
              ],
              "content": [
                "string"
              ],
              "activity": [
                "string"
              ],
              "activity_url": [
                "string"
              ],
              "global": [
                "string"
              ]
            },
            "modal": {
              "type": "string",
              "style": {
                "image": "string",
                "background": "string",
                "background1": "string",
                "background2": "string",
                "background_image_template": "string",
                "width": 0
              }
            },
            "title": {
              "type": "string",
              "value": "string",
              "style": {
                "background_color": "string"
              }
            },
            "description": {
              "type": "string",
              "value": "string"
            },
            "input": {
              "type": "string",
              "style": {
                "background_color": "string",
                "border_color": "string",
                "color": "string"
              }
            },
            "button1": {
              "type": "string",
              "modifier": "string",
              "url": {
                "type": "string",
                "value": "string"
              },
              "value": "string",
              "style": {
                "background_color": "string",
                "border_color": "string"
              },
              "url_str": "string"
            },
            "button2": {
              "type": "string",
              "modifier": "string",
              "url": {
                "type": "string",
                "value": "string"
              },
              "value": "string",
              "style": {
                "background_color": "string",
                "border_color": "string"
              },
              "url_str": "string"
            },
            "rebate": {
              "type": "string",
              "rebate_id": "string",
              "rebate_name": "string",
              "rebate_not_match_text": "string",
              "rebate_match_text": "string"
            },
            "shipping": {
              "type": "string",
              "shipping_id": "string",
              "shipping_name": "string",
              "shipping_not_match_text": "string",
              "shipping_match_text": "string"
            }
          },
          "second_page": {
            "sections": {
              "modal": [
                "string"
              ],
              "content": [
                "string"
              ],
              "activity": [
                "string"
              ],
              "activity_url": [
                "string"
              ],
              "global": [
                "string"
              ]
            },
            "modal": {
              "type": "string",
              "style": {
                "image": "string",
                "background": "string",
                "background1": "string",
                "background2": "string",
                "background_image_template": "string",
                "width": 0
              }
            },
            "title": {
              "type": "string",
              "value": "string",
              "style": {
                "background_color": "string"
              }
            },
            "description": {
              "type": "string",
              "value": "string"
            },
            "coupon": {
              "type": "string",
              "style": {
                "color": "string",
                "background_color": "string"
              },
              "title_name": "string"
            },
            "button1": {
              "type": "string",
              "modifier": "string",
              "url": {
                "type": "string",
                "value": "string"
              },
              "value": "string",
              "style": {
                "background_color": "string",
                "border_color": "string"
              },
              "url_str": "string"
            }
          }
        },
        "conversion_rate": "string",
        "coupon_code": "string",
        "create_type": "string",
        "discount_type": "string",
        "ends_at": "string",
        "exposure": "string",
        "frequency_num": "string",
        "frequency_type": "string",
        "id": "string",
        "name": "string",
        "opportunity": "string",
        "order_amount": {
          "limit": 0,
          "min": 0,
          "max": 0
        },
        "order_num": {
          "limit": 0,
          "min": 0,
          "max": 0
        },
        "p_created_at": "string",
        "p_updated_at": "string",
        "pa_updated_at": "string",
        "pages_type": "string",
        "progress": "string",
        "resource_id": "string",
        "starts_at": "string",
        "status": "string",
        "subscribe": "string",
        "target_user": "string",
        "theme": "string",
        "type": "string",
        "user_login": "string",
        "user_subscribe": "string",
        "wait_seconds": "string",
        "activity_detail": {
          "id": "string",
          "title": "string",
          "price_rule_id": "string",
          "discount_type": "string",
          "starts_at": "string",
          "ends_at": "string",
          "status": "string",
          "popups_setting": "string",
          "global_show_text": "string",
          "popups_id": "string",
          "discount_channel_list": [
            {
              "channel_type": "string",
              "channel_status": 0,
              "location_ids": [
                "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_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"
              ]
            }
          ],
          "allocation_method": "string"
        }
      }
    ],
    "cursor": "string",
    "has_more": true
  }
}
```
