List popups
GET/openapi/2025-06/popups
Retrieves a list of popups available for a shop.
Request
Query Parameters
Cursor for pagination
Page size for the number of popup to retrieve. Default to 8
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
error code
error message
data object
popups object[]
List of popups
abrogation_condition object
Abrogation condition
Trigger number
Whether closed
Whether participated
Auto close number
Activity ID
Activity type
App type
cart_amount object
Cart amount
Limit
Minimum value
Maximum value
cart_num object
Number of cart items
Limit
Minimum value
Maximum value
config object
Configuration
global object
Global
sections object
List of sections
Modal
Content
Activity
Activity URL
Global
overlay object
Overlay
Type
style object
Style
Background color
setting object
Setting
Type
value object
The value
Device type
Position or sort order
Fixed
Type of prerequisite
modal_size object
Modal size
Type
style object
Style
Width dimension
link object
Link
Type
The value
basic_setting object
Basic settings
sections object
List of sections
Modal
Content
Activity
Activity URL
Global
select_activity object
Select activity
Type
Activity name
prerequisite_array object[]
Array of prerequisite conditions
Greater than or equal to value
The value
Percentage value
Value event type
Value condition
Target type
Target data
activity_url object
Activity URL
Type
The value
advanced_setting object
Advanced settings
sections object
List of sections
Modal
Content
Activity
Activity URL
Global
modal object
Modal
Type
style object
Style
Image
Background
Background (primary)
Background (secondary)
Background image template
Width dimension
title object
Title
Type
The value
style object
Style
Background color
coupon_content object
Coupon content
Type
Title name
single object
Whether single
amount_percentage object
Amount percentage
The value
style object
Style
Background color
item_fixed_amount object
Item fixed discount amount
The value
style object
Style
Background color
fixed_amount object
Fixed amount
The value
style object
Style
Background color
percentage object
Percentage
across object
Across
The value
each object
Each
The value
style object
Style
Background color
coupon object
Coupon
Type
style object
Style
Color
Background color
Title name
declaration object
Declaration
Type
Title name
The value
style object
Style
Background color
main_button object
Main button
Type
The value
style object
Style
Background color
Border color
close_button object
Close button
Type
Modifier
Whether to show tool close button
Whether to show close button
style object
Style
Color
first_page object
First page
sections object
List of sections
Modal
Content
Activity
Activity URL
Global
modal object
Modal
Type
style object
Style
Image
Background
Background (primary)
Background (secondary)
Background image template
Width dimension
title object
Title
Type
The value
style object
Style
Background color
description object
Description
Type
The value
input object
Input
Type
style object
Style
Background color
Border color
Color
button1 object
Button 1
Type
Modifier
url object
URL
Type
The value
The value
style object
Style
Background color
Border color
URL string
button2 object
Button 2
Type
Modifier
url object
URL
Type
The value
The value
style object
Style
Background color
Border color
URL string
rebate object
Rebate
Type
Rebate ID
Rebate name
Rebate not-match text
Rebate match text
shipping object
Shipping information
Type
Shipping ID
Shipping method name
Shipping not-match text
Shipping match text
second_page object
Second page
sections object
List of sections
Modal
Content
Activity
Activity URL
Global
modal object
Modal
Type
style object
Style
Image
Background
Background (primary)
Background (secondary)
Background image template
Width dimension
title object
Title
Type
The value
style object
Style
Background color
description object
Description
Type
The value
coupon object
Coupon
Type
style object
Style
Color
Background color
Title name
button1 object
Button 1
Type
Modifier
url object
URL
Type
The value
The value
style object
Style
Background color
Border color
URL string
Conversion rate
Coupon code
Creation type
Discount type
End timestamp
Exposure count
Frequency number
Frequency type
Popup ID
Name
Opportunity
order_amount object
Order amount
Limit
Minimum value
Maximum value
order_num object
Number of orders
Limit
Minimum value
Maximum value
Product creation timestamp
Product update timestamp
Product-attribute update timestamp
Type of page
Progress
Resource ID
Start timestamp
Status
Subscribe
Target user
Theme
Type
User login
User subscribe
Wait seconds
activity_detail object
Activity detail
Activity detail ID
Title
Price rule ID
Discount type
Start timestamp
End timestamp
Status
Popup settings
Global show text
Popup ID
discount_channel_list object[]
List of discount channels
Type of channel
Status of channel
List of location IDs
prerequisite_subtotal_range object[]
Subtotal prerequisite range
Greater than or equal to value
The value
Percentage value
Value event type
Value condition
Target type
Target data
prerequisite_quantity_range object[]
Quantity prerequisite range
Greater than or equal to value
The value
Percentage value
Value event type
Value condition
Target type
Target data
Allocation method
The cursor for the next page of results
Whether there are more results
{
"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
}
}