List coupons
GET/openapi/2025-06/coupons
Retrieves a paginated list of coupons available in the system.
Request
Query Parameters
not_started: Not startedongoing: In progressfinished: Endedfixed_amount: Fixed amount discountpercentage: Percentage discountvoucher: Voucher
Cursor for pagination
Number of records per page. The default value is 10
Filter by coupon progress:
Filter by coupon type:
Search for coupons by title
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
ongoing: In progressnot_started: Not startedfinished: Ended- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
error code
error message
data object
coupons object[]
List of coupons
Coupon ID
Store ID where the discount is applicable
Lifecycle type of the discount. Can be begin_end or survival
Valid time (in seconds). Relevant for life_cycle_type=survival
Discount start time in UNIX timestamp
Discount end time in UNIX timestamp, -1 for no end date
Type of discount
Type of discount value
Discount value (e.g., percentage rate or fixed amount). This field is 0 when the discount is determined by threshold rules in prerequisite_subtotal_range or prerequisite_quantity_range
Maximum usage limit for the discount. -1 for unlimited
Maximum number of times the discount can be used by a single customer
Title or name of the discount
Remaining stock or availability of the discount
Target range (e.g., all for all products)
Discount code
Indicates whether the discount has prerequisites (1 for yes, 0 for no)
Indicates if the discount is visible in admin (1 for yes, 0 for no)
Coupon progress status. Use this field instead of status:
Maximum allocation limit amount for the discount
prerequisite_quantity_range object[]
Quantity range prerequisites for the discount
Greater than or equal to value
The value
Percentage value
Value event type
Value condition
Target type
Target data
prerequisite_subtotal_range object[]
Subtotal range prerequisites for the discount
Greater than or equal to value
The value
Percentage value
Value event type
Value condition
Target type
Target data
List of product IDs entitled for the discount
List of variant IDs entitled for the discount
Sorting order for entitled products
Number of times the discount has been used
sort object
Sorting configuration for the discount
Sort field
Sort direction
Indicates if the discount can be used with other discounts (1 for yes, 0 for no)
List of customer IDs eligible for the discount
List of customer segment IDs eligible for the discount
config object
Discount configuration, including banner and countdown settings
Banner URL
Banner size
count_down object
Countdown style setting
Whether to show countdown
Countdown display format
Background gradient start color
Background gradient end color
Countdown text color
Countdown background color
Countdown color
Detail page show code
Landing page show code
Allocation method for the discount
Allocation limit for the discount
Customer selection criteria for the discount
List of collection IDs entitled for the discount
tips object
Tips and messages associated with the discount
Message
Countdown
Countdown in days
Use code
Copy code
entitled_extra_list object[]
Additional entitled data for the discount
ID
Sort configuration
discount_channel_list object[]
List of discount channels
Type of channel
Status of channel
List of location IDs
Indicates if the discount is valid for first order customers only
Target price type
Remarks
Coupon type
Channel message
Coupon message
Send target selection
Effective time
Coupon use start timestamp
Coupon use end timestamp
The cursor for the next page of results
Whether there are more records
{
"code": "string",
"message": "string",
"data": {
"coupons": [
{
"id": "string",
"store_id": 0,
"life_cycle_type": "string",
"survival_time": "string",
"starts_at": "string",
"ends_at": "string",
"discount_type": "string",
"value_type": "string",
"value": "string",
"usage_limit": 0,
"once_per_customer": 0,
"title": "string",
"stock": 0,
"target_selection": "string",
"code": "string",
"prerequisite": 0,
"is_admin_show": 0,
"progress": "string",
"allocation_limit_amount": "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"
]
}
],
"entitled_product_ids": [
"string"
],
"entitled_variant_ids": [
"string"
],
"entitled_sort": [
"string"
],
"times_used": 0,
"sort": {
"by": "string",
"direction": "string"
},
"use_with_other": 0,
"prerequisite_customer_ids": [
"string"
],
"prerequisite_customer_segment_ids": [
"string"
],
"config": {
"banner_url": "string",
"banner_size": "string",
"count_down": {
"show_count_down": true,
"format": "string",
"background_color_start": "string",
"background_color_end": "string",
"color": "string",
"count_down_background_color": "string",
"count_down_color": "string",
"detail_page_show_code": true,
"landing_page_show_code": 0
}
},
"allocation_method": "string",
"allocation_limit": 0,
"customer_selection": "string",
"entitled_collection_ids": [
"string"
],
"tips": {
"msg": "string",
"countdown": "string",
"countdown_day": "string",
"use_code": "string",
"copy_code": "string"
},
"entitled_extra_list": [
{
"id": "string",
"sort": 0
}
],
"discount_channel_list": [
{
"channel_type": "string",
"channel_status": 0,
"location_ids": [
"string"
]
}
],
"only_valid_first_order_customer": true,
"target_price_type": "string",
"remarks": "string",
"coupon_type": "string",
"channel_message": "string",
"coupon_message": "string",
"send_target_selection": "string",
"effective_time": "string",
"use_coupon_starts_at": "string",
"use_coupon_ends_at": "string"
}
],
"cursor": "string",
"has_more": true
}
}