版本:202201
查询满减活动列表
GET/openapi/2022-01/discount_rebates
返回店铺可用的满减活动列表。
请求
Query参数
limit int32
Limit per page
page int32
Page number
need_detail_url boolean
若为 true,则在响应中返回详情 URL。
响应
- 200
- 400
200
- application/json
- 数据结构
- 示例
- Result
数据结构
- Array [
- Array [
- ]
- ]
pageinteger
默认值:
0示例:
1limitinteger
默认值:
0示例:
20totalstring
示例:
1data object[]
allocation_limitstring
示例:
0allocation_limit_amountstring
示例:
0.0000allocation_methodstring
示例:
acrosscustomer_selectionstring
示例:
alldetail_urlstring
示例:
tzt.myshoplaza.com/promotions/rebate/47d2a827-e914-49e0-a14c-3161edb1ae9ediscount_typestring
示例:
fixed_amountends_atstring
示例:
-1entitled_filter_idsarray
entitled_filter_listarray
entitled_product_idsarray
global_show_textstring
示例:
closeidstring
示例:
47d2a827-e914-49e0-a14c-3161edb1ae9eonce_per_customerstring
示例:
0popups_idstring
示例:
popups_settingstring
示例:
closeprerequisitestring
示例:
1prerequisite_customer_idsarray
prerequisite_customer_range
prerequisite_customer_segment_idsarray
prerequisite_quantity_range
prerequisite_subtotal_range object[]
greater_than_or_equal_tostring
示例:
123valuestring
示例:
1value_event_typestring
示例:
value_conditionstring
示例:
less_than_or_equal_totarget_typestring
示例:
target_dataarray
target_data_variantarray
target_data_collectionarray
prerequisite_threshold_quantity_range
prerequisite_threshold_subtotal_range
product_num
progressstring
示例:
ongoingsortstring
示例:
{"by":"title","direction":"asc"}starts_atstring
示例:
1682652084statusstring
示例:
1target_price_typestring
示例:
combined_pricetarget_selectionstring
示例:
alltarget_typestring
示例:
times_usedstring
示例:
0titlestring
示例:
tzt-满减活动-吸引客户购买更多usage_limitstring
示例:
0valueinteger
默认值:
0示例:
0value_typestring
示例:
fixed_amountvariant_product_idsarray
{
"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
]
}
]
}
{
"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
无 Schema