mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 18:04:42 +08:00
feat(tenpayv3): 新增摇一摇有优惠商品券相关接口
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"out_product_no": "Product_1234567890",
|
||||
"scope": "ALL",
|
||||
"usage_mode": "SINGLE",
|
||||
"display_info": {
|
||||
"name": "全场满100立打8折",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
]
|
||||
},
|
||||
"single_usage_info": {
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 20
|
||||
}
|
||||
},
|
||||
"type": "DISCOUNT",
|
||||
"stock": {
|
||||
"remark": "8月工作日有效批次",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-08-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-08-31T23:59:59+08:00",
|
||||
"available_days": 30,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY",
|
||||
"TUESDAY",
|
||||
"WEDNESDAY",
|
||||
"THURSDAY",
|
||||
"FRIDAY"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"OFFLINE",
|
||||
"MINI_PROGRAM",
|
||||
"PAYMENT_CODE"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"usage_description": "工作日可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "所有门店可用,可使用小程序查看门店列表",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"store_scope": "NONE",
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
}
|
||||
},
|
||||
"out_request_no": "12345_20250101_A3489",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"product_coupon_id": "1000000013",
|
||||
"scope": "ALL",
|
||||
"type": "DISCOUNT",
|
||||
"usage_mode": "SINGLE",
|
||||
"single_usage_info": {
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 20
|
||||
}
|
||||
},
|
||||
"display_info": {
|
||||
"name": "全场满100立打8折",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
]
|
||||
},
|
||||
"state": "EFFECTIVE",
|
||||
"out_product_no": "Product_1234567890",
|
||||
"stock": {
|
||||
"product_coupon_id": "1000000013",
|
||||
"stock_id": "1000000013001",
|
||||
"remark": "8月工作日有效批次",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 0,
|
||||
"available_count": 0
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-08-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-08-31T23:59:59+08:00",
|
||||
"available_days": 30,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY",
|
||||
"TUESDAY",
|
||||
"WEDNESDAY",
|
||||
"THURSDAY",
|
||||
"FRIDAY"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"OFFLINE",
|
||||
"MINI_PROGRAM",
|
||||
"PAYMENT_CODE"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"usage_description": "工作日可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "所有门店可用,可使用小程序查看门店列表",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "NONE",
|
||||
"sent_count_info": {
|
||||
"total_count": 0,
|
||||
"today_count": 0
|
||||
},
|
||||
"state": "SENDING",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"out_request_no": "34657_20250101_123456",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"product_coupon_id": "1002323",
|
||||
"scope": "ALL",
|
||||
"type": "NORMAL",
|
||||
"usage_mode": "SEQUENTIAL",
|
||||
"single_usage_info": {
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
},
|
||||
"sequential_usage_info": {
|
||||
"type": "EQUAL",
|
||||
"count": 10,
|
||||
"available_days": 10,
|
||||
"interval_days": 1
|
||||
},
|
||||
"display_info": {
|
||||
"name": "全场满100可减10元",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
],
|
||||
"original_price": 10000,
|
||||
"combo_package_list": [
|
||||
{
|
||||
"name": "咖啡2选1",
|
||||
"pick_count": 3,
|
||||
"choice_list": [
|
||||
{
|
||||
"name": "美式",
|
||||
"price": 10000,
|
||||
"count": 2,
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"mini_program_appid": "wx4fd12345678",
|
||||
"mini_program_path": "/pages/index/index"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"out_product_no": "Product_1234567890",
|
||||
"state": "AUDITING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-06-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下架",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"product_coupon_id": "1002323",
|
||||
"scope": "ALL",
|
||||
"type": "NORMAL",
|
||||
"usage_mode": "SEQUENTIAL",
|
||||
"single_usage_info": {
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
},
|
||||
"sequential_usage_info": {
|
||||
"type": "EQUAL",
|
||||
"count": 10,
|
||||
"available_days": 10,
|
||||
"interval_days": 1
|
||||
},
|
||||
"display_info": {
|
||||
"name": "全场满100可减10元",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
],
|
||||
"original_price": 10000,
|
||||
"combo_package_list": [
|
||||
{
|
||||
"name": "咖啡2选1",
|
||||
"pick_count": 3,
|
||||
"choice_list": [
|
||||
{
|
||||
"name": "美式",
|
||||
"price": 10000,
|
||||
"count": 2,
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"mini_program_appid": "wx4fd12345678",
|
||||
"mini_program_path": "/pages/index/index"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"out_product_no": "Product_1234567890",
|
||||
"state": "AUDITING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-06-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下架",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"notify_url": "https://www.example.com/notify",
|
||||
"update_time": "2025-01-01T00:00+08:00"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"notify_url": "https://www.example.com/notify"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"notify_url": "https://www.example.com/notify",
|
||||
"update_time": "2025-01-01T00:00+08:00"
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"out_request_no": "34657_20250101_123456",
|
||||
"stock": {
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC"
|
||||
},
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"out_request_no": "34657_20250101_123456",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,146 @@
|
||||
{
|
||||
"total_count": 100,
|
||||
"stock_list": [
|
||||
{
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
],
|
||||
"next_page_token": "MTIzNDUK"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"store_list": [
|
||||
{
|
||||
"store_id": "100000001"
|
||||
}
|
||||
],
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"total_count": 10,
|
||||
"success_store_list": [
|
||||
{
|
||||
"store_id": "100000001"
|
||||
}
|
||||
],
|
||||
"failed_store_list": [
|
||||
{
|
||||
"store_id": "100000001",
|
||||
"code": "INVALID_REQUEST",
|
||||
"message": "门店ID非法或不属于当前品牌"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"store_list": [
|
||||
{
|
||||
"store_id": "100000001"
|
||||
}
|
||||
],
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"total_count": 10,
|
||||
"success_store_list": [
|
||||
{
|
||||
"store_id": "100000001"
|
||||
}
|
||||
],
|
||||
"failed_store_list": [
|
||||
{
|
||||
"store_id": "100000001",
|
||||
"code": "INVALID_REQUEST",
|
||||
"message": "门店ID非法或不属于当前品牌"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"total_count": 500,
|
||||
"store_list": [
|
||||
{
|
||||
"store_id": "100000001"
|
||||
}
|
||||
],
|
||||
"next_page_token": "MTIzNDUK"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"out_request_no": "BUDGET1212512514",
|
||||
"update_mode": "MAX_COUNT",
|
||||
"current_max_count": 1,
|
||||
"target_max_count": 1,
|
||||
"current_max_count_per_day": 1,
|
||||
"target_max_count_per_day": 1,
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"out_request_no": "34657_20250101_123456",
|
||||
"remark": "疯狂星期四项目专用",
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"out_request_no": "34657_20250101_123456",
|
||||
"code_list": [
|
||||
"vCode_1234567890"
|
||||
],
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"total_count": 1,
|
||||
"success_code_list": [
|
||||
"vCode_8888888888"
|
||||
],
|
||||
"failed_code_list": [
|
||||
{
|
||||
"coupon_code": "vCode_1234567890",
|
||||
"code": "SYSTEM_ERROR",
|
||||
"message": "系统失败"
|
||||
}
|
||||
],
|
||||
"already_exist_code_list": [
|
||||
"vCode_1111111111"
|
||||
],
|
||||
"duplicate_code_list": [
|
||||
"vCode_8888888888"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"out_request_no": "34657_20250101_123456",
|
||||
"display_info": {
|
||||
"name": "全场满100可减10元",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
],
|
||||
"original_price": 10000,
|
||||
"combo_package_list": [
|
||||
{
|
||||
"name": "咖啡2选1",
|
||||
"pick_count": 3,
|
||||
"choice_list": [
|
||||
{
|
||||
"name": "美式",
|
||||
"price": 10000,
|
||||
"count": 2,
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"mini_program_appid": "wx4fd12345678",
|
||||
"mini_program_path": "/pages/index/index"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"product_coupon_id": "1002323",
|
||||
"scope": "ALL",
|
||||
"type": "NORMAL",
|
||||
"usage_mode": "SEQUENTIAL",
|
||||
"single_usage_info": {
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
},
|
||||
"sequential_usage_info": {
|
||||
"type": "EQUAL",
|
||||
"count": 10,
|
||||
"available_days": 10,
|
||||
"interval_days": 1
|
||||
},
|
||||
"display_info": {
|
||||
"name": "全场满100可减10元",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
],
|
||||
"original_price": 10000,
|
||||
"combo_package_list": [
|
||||
{
|
||||
"name": "咖啡2选1",
|
||||
"pick_count": 3,
|
||||
"choice_list": [
|
||||
{
|
||||
"name": "美式",
|
||||
"price": 10000,
|
||||
"count": 2,
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"mini_program_appid": "wx4fd12345678",
|
||||
"mini_program_path": "/pages/index/index"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"out_product_no": "Product_1234567890",
|
||||
"state": "AUDITING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-06-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下架",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"filename": "header.jpg",
|
||||
"sha256": "6aa6c99ce1d04afc2668154126c607af5a680734fa119e2a096529f6d6f2c0a2"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"image_url": "https://qpic.cn/xxx"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"product_coupon_id": "1002323",
|
||||
"stock_id": "100232301",
|
||||
"appid": "wx233544546545989",
|
||||
"out_request_no": "MCHCONFIRM202003101234",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,252 @@
|
||||
{
|
||||
"coupon_code": "123446565767",
|
||||
"coupon_state": "USED",
|
||||
"valid_begin_time": "2025-01-01T00:00+08:00",
|
||||
"valid_end_time": "2025-01-30T23:59:59+08:00",
|
||||
"receive_time": "2025-01-01T09:10:00+08:00",
|
||||
"send_request_no": "MCHSEND202003101234",
|
||||
"send_channel": "API",
|
||||
"confirm_request_no": "MCHCONFIRM202003101234",
|
||||
"confirm_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下线",
|
||||
"single_usage_detail": {
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00"
|
||||
},
|
||||
"sequential_usage_detail": {
|
||||
"total_count": 10,
|
||||
"used_count": 3,
|
||||
"detail_item_list": [
|
||||
{
|
||||
"detail_state": "USED",
|
||||
"valid_begin_time": "2025-07-24T00:00+08:00",
|
||||
"valid_end_time": "2025-07-30T23:59:59+08:00",
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00",
|
||||
"delete_time": "2025-07-20T14:29:35+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"product_coupon": {
|
||||
"product_coupon_id": "1002323",
|
||||
"scope": "ALL",
|
||||
"type": "NORMAL",
|
||||
"usage_mode": "SEQUENTIAL",
|
||||
"single_usage_info": {
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
},
|
||||
"sequential_usage_info": {
|
||||
"type": "EQUAL",
|
||||
"count": 10,
|
||||
"available_days": 10,
|
||||
"interval_days": 1
|
||||
},
|
||||
"display_info": {
|
||||
"name": "全场满100可减10元",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
],
|
||||
"original_price": 10000,
|
||||
"combo_package_list": [
|
||||
{
|
||||
"name": "咖啡2选1",
|
||||
"pick_count": 3,
|
||||
"choice_list": [
|
||||
{
|
||||
"name": "美式",
|
||||
"price": 10000,
|
||||
"count": 2,
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"mini_program_appid": "wx4fd12345678",
|
||||
"mini_program_path": "/pages/index/index"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"out_product_no": "Product_1234567890",
|
||||
"state": "AUDITING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-06-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下架",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"stock": {
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"attach": "example_attach",
|
||||
"channel_custom_info": "example_channel_custom_info",
|
||||
"brand_id": "120344",
|
||||
"coupon_tag_info": {
|
||||
"coupon_tag_list": [
|
||||
"MEMBER"
|
||||
],
|
||||
"member_tag_info": {
|
||||
"member_card_id": "MemberCardId_1234567890"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"product_coupon_id": "1002323",
|
||||
"stock_id": "100232301",
|
||||
"appid": "wx233544546545989",
|
||||
"out_request_no": "1002600620019090123144054436",
|
||||
"deactivate_reason": "商品已下线,使用户商品券失效",
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,252 @@
|
||||
{
|
||||
"coupon_code": "123446565767",
|
||||
"coupon_state": "USED",
|
||||
"valid_begin_time": "2025-01-01T00:00+08:00",
|
||||
"valid_end_time": "2025-01-30T23:59:59+08:00",
|
||||
"receive_time": "2025-01-01T09:10:00+08:00",
|
||||
"send_request_no": "MCHSEND202003101234",
|
||||
"send_channel": "API",
|
||||
"confirm_request_no": "MCHCONFIRM202003101234",
|
||||
"confirm_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下线",
|
||||
"single_usage_detail": {
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00"
|
||||
},
|
||||
"sequential_usage_detail": {
|
||||
"total_count": 10,
|
||||
"used_count": 3,
|
||||
"detail_item_list": [
|
||||
{
|
||||
"detail_state": "USED",
|
||||
"valid_begin_time": "2025-07-24T00:00+08:00",
|
||||
"valid_end_time": "2025-07-30T23:59:59+08:00",
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00",
|
||||
"delete_time": "2025-07-20T14:29:35+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"product_coupon": {
|
||||
"product_coupon_id": "1002323",
|
||||
"scope": "ALL",
|
||||
"type": "NORMAL",
|
||||
"usage_mode": "SEQUENTIAL",
|
||||
"single_usage_info": {
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
},
|
||||
"sequential_usage_info": {
|
||||
"type": "EQUAL",
|
||||
"count": 10,
|
||||
"available_days": 10,
|
||||
"interval_days": 1
|
||||
},
|
||||
"display_info": {
|
||||
"name": "全场满100可减10元",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
],
|
||||
"original_price": 10000,
|
||||
"combo_package_list": [
|
||||
{
|
||||
"name": "咖啡2选1",
|
||||
"pick_count": 3,
|
||||
"choice_list": [
|
||||
{
|
||||
"name": "美式",
|
||||
"price": 10000,
|
||||
"count": 2,
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"mini_program_appid": "wx4fd12345678",
|
||||
"mini_program_path": "/pages/index/index"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"out_product_no": "Product_1234567890",
|
||||
"state": "AUDITING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-06-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下架",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"stock": {
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"attach": "example_attach",
|
||||
"channel_custom_info": "example_channel_custom_info",
|
||||
"brand_id": "120344",
|
||||
"coupon_tag_info": {
|
||||
"coupon_tag_list": [
|
||||
"MEMBER"
|
||||
],
|
||||
"member_tag_info": {
|
||||
"member_card_id": "MemberCardId_1234567890"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,252 @@
|
||||
{
|
||||
"coupon_code": "123446565767",
|
||||
"coupon_state": "USED",
|
||||
"valid_begin_time": "2025-01-01T00:00+08:00",
|
||||
"valid_end_time": "2025-01-30T23:59:59+08:00",
|
||||
"receive_time": "2025-01-01T09:10:00+08:00",
|
||||
"send_request_no": "MCHSEND202003101234",
|
||||
"send_channel": "API",
|
||||
"confirm_request_no": "MCHCONFIRM202003101234",
|
||||
"confirm_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下线",
|
||||
"single_usage_detail": {
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00"
|
||||
},
|
||||
"sequential_usage_detail": {
|
||||
"total_count": 10,
|
||||
"used_count": 3,
|
||||
"detail_item_list": [
|
||||
{
|
||||
"detail_state": "USED",
|
||||
"valid_begin_time": "2025-07-24T00:00+08:00",
|
||||
"valid_end_time": "2025-07-30T23:59:59+08:00",
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00",
|
||||
"delete_time": "2025-07-20T14:29:35+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"product_coupon": {
|
||||
"product_coupon_id": "1002323",
|
||||
"scope": "ALL",
|
||||
"type": "NORMAL",
|
||||
"usage_mode": "SEQUENTIAL",
|
||||
"single_usage_info": {
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
},
|
||||
"sequential_usage_info": {
|
||||
"type": "EQUAL",
|
||||
"count": 10,
|
||||
"available_days": 10,
|
||||
"interval_days": 1
|
||||
},
|
||||
"display_info": {
|
||||
"name": "全场满100可减10元",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
],
|
||||
"original_price": 10000,
|
||||
"combo_package_list": [
|
||||
{
|
||||
"name": "咖啡2选1",
|
||||
"pick_count": 3,
|
||||
"choice_list": [
|
||||
{
|
||||
"name": "美式",
|
||||
"price": 10000,
|
||||
"count": 2,
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"mini_program_appid": "wx4fd12345678",
|
||||
"mini_program_path": "/pages/index/index"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"out_product_no": "Product_1234567890",
|
||||
"state": "AUDITING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-06-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下架",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"stock": {
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"attach": "example_attach",
|
||||
"channel_custom_info": "example_channel_custom_info",
|
||||
"brand_id": "120344",
|
||||
"coupon_tag_info": {
|
||||
"coupon_tag_list": [
|
||||
"MEMBER"
|
||||
],
|
||||
"member_tag_info": {
|
||||
"member_card_id": "MemberCardId_1234567890"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,258 @@
|
||||
{
|
||||
"total_count": 20,
|
||||
"user_coupon_list": [
|
||||
{
|
||||
"coupon_code": "123446565767",
|
||||
"coupon_state": "USED",
|
||||
"valid_begin_time": "2025-01-01T00:00+08:00",
|
||||
"valid_end_time": "2025-01-30T23:59:59+08:00",
|
||||
"receive_time": "2025-01-01T09:10:00+08:00",
|
||||
"send_request_no": "MCHSEND202003101234",
|
||||
"send_channel": "API",
|
||||
"confirm_request_no": "MCHCONFIRM202003101234",
|
||||
"confirm_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下线",
|
||||
"single_usage_detail": {
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00"
|
||||
},
|
||||
"sequential_usage_detail": {
|
||||
"total_count": 10,
|
||||
"used_count": 3,
|
||||
"detail_item_list": [
|
||||
{
|
||||
"detail_state": "USED",
|
||||
"valid_begin_time": "2025-07-24T00:00+08:00",
|
||||
"valid_end_time": "2025-07-30T23:59:59+08:00",
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00",
|
||||
"delete_time": "2025-07-20T14:29:35+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"product_coupon": {
|
||||
"product_coupon_id": "1002323",
|
||||
"scope": "ALL",
|
||||
"type": "NORMAL",
|
||||
"usage_mode": "SEQUENTIAL",
|
||||
"single_usage_info": {
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
},
|
||||
"sequential_usage_info": {
|
||||
"type": "EQUAL",
|
||||
"count": 10,
|
||||
"available_days": 10,
|
||||
"interval_days": 1
|
||||
},
|
||||
"display_info": {
|
||||
"name": "全场满100可减10元",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
],
|
||||
"original_price": 10000,
|
||||
"combo_package_list": [
|
||||
{
|
||||
"name": "咖啡2选1",
|
||||
"pick_count": 3,
|
||||
"choice_list": [
|
||||
{
|
||||
"name": "美式",
|
||||
"price": 10000,
|
||||
"count": 2,
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"mini_program_appid": "wx4fd12345678",
|
||||
"mini_program_path": "/pages/index/index"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"out_product_no": "Product_1234567890",
|
||||
"state": "AUDITING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-06-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下架",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"stock": {
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"attach": "example_attach",
|
||||
"channel_custom_info": "example_channel_custom_info",
|
||||
"brand_id": "120344",
|
||||
"coupon_tag_info": {
|
||||
"coupon_tag_list": [
|
||||
"MEMBER"
|
||||
],
|
||||
"member_tag_info": {
|
||||
"member_card_id": "MemberCardId_1234567890"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"next_page_token": "MTIzNDUK"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"product_coupon_id": "1002323",
|
||||
"stock_id": "100232301",
|
||||
"appid": "wx233544546545989",
|
||||
"out_request_no": "MCHRETURN202003101234",
|
||||
"sequential_coupon_index": 0,
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,252 @@
|
||||
{
|
||||
"coupon_code": "123446565767",
|
||||
"coupon_state": "USED",
|
||||
"valid_begin_time": "2025-01-01T00:00+08:00",
|
||||
"valid_end_time": "2025-01-30T23:59:59+08:00",
|
||||
"receive_time": "2025-01-01T09:10:00+08:00",
|
||||
"send_request_no": "MCHSEND202003101234",
|
||||
"send_channel": "API",
|
||||
"confirm_request_no": "MCHCONFIRM202003101234",
|
||||
"confirm_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下线",
|
||||
"single_usage_detail": {
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00"
|
||||
},
|
||||
"sequential_usage_detail": {
|
||||
"total_count": 10,
|
||||
"used_count": 3,
|
||||
"detail_item_list": [
|
||||
{
|
||||
"detail_state": "USED",
|
||||
"valid_begin_time": "2025-07-24T00:00+08:00",
|
||||
"valid_end_time": "2025-07-30T23:59:59+08:00",
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00",
|
||||
"delete_time": "2025-07-20T14:29:35+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"product_coupon": {
|
||||
"product_coupon_id": "1002323",
|
||||
"scope": "ALL",
|
||||
"type": "NORMAL",
|
||||
"usage_mode": "SEQUENTIAL",
|
||||
"single_usage_info": {
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
},
|
||||
"sequential_usage_info": {
|
||||
"type": "EQUAL",
|
||||
"count": 10,
|
||||
"available_days": 10,
|
||||
"interval_days": 1
|
||||
},
|
||||
"display_info": {
|
||||
"name": "全场满100可减10元",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
],
|
||||
"original_price": 10000,
|
||||
"combo_package_list": [
|
||||
{
|
||||
"name": "咖啡2选1",
|
||||
"pick_count": 3,
|
||||
"choice_list": [
|
||||
{
|
||||
"name": "美式",
|
||||
"price": 10000,
|
||||
"count": 2,
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"mini_program_appid": "wx4fd12345678",
|
||||
"mini_program_path": "/pages/index/index"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"out_product_no": "Product_1234567890",
|
||||
"state": "AUDITING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-06-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下架",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"stock": {
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"attach": "example_attach",
|
||||
"channel_custom_info": "example_channel_custom_info",
|
||||
"brand_id": "120344",
|
||||
"coupon_tag_info": {
|
||||
"coupon_tag_list": [
|
||||
"MEMBER"
|
||||
],
|
||||
"member_tag_info": {
|
||||
"member_card_id": "MemberCardId_1234567890"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "100232301",
|
||||
"coupon_code": "123446565767",
|
||||
"appid": "wx233544546545989",
|
||||
"send_request_no": "34657_20250101_123456",
|
||||
"attach": "example_attach",
|
||||
"brand_id": "120344",
|
||||
"coupon_tag_info": {
|
||||
"coupon_tag_list": [
|
||||
"MEMBER"
|
||||
],
|
||||
"member_tag_info": {
|
||||
"member_card_id": "MemberCardId_1234567890"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,252 @@
|
||||
{
|
||||
"coupon_code": "123446565767",
|
||||
"coupon_state": "USED",
|
||||
"valid_begin_time": "2025-01-01T00:00+08:00",
|
||||
"valid_end_time": "2025-01-30T23:59:59+08:00",
|
||||
"receive_time": "2025-01-01T09:10:00+08:00",
|
||||
"send_request_no": "MCHSEND202003101234",
|
||||
"send_channel": "API",
|
||||
"confirm_request_no": "MCHCONFIRM202003101234",
|
||||
"confirm_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下线",
|
||||
"single_usage_detail": {
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00"
|
||||
},
|
||||
"sequential_usage_detail": {
|
||||
"total_count": 10,
|
||||
"used_count": 3,
|
||||
"detail_item_list": [
|
||||
{
|
||||
"detail_state": "USED",
|
||||
"valid_begin_time": "2025-07-24T00:00+08:00",
|
||||
"valid_end_time": "2025-07-30T23:59:59+08:00",
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00",
|
||||
"delete_time": "2025-07-20T14:29:35+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"product_coupon": {
|
||||
"product_coupon_id": "1002323",
|
||||
"scope": "ALL",
|
||||
"type": "NORMAL",
|
||||
"usage_mode": "SEQUENTIAL",
|
||||
"single_usage_info": {
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
},
|
||||
"sequential_usage_info": {
|
||||
"type": "EQUAL",
|
||||
"count": 10,
|
||||
"available_days": 10,
|
||||
"interval_days": 1
|
||||
},
|
||||
"display_info": {
|
||||
"name": "全场满100可减10元",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
],
|
||||
"original_price": 10000,
|
||||
"combo_package_list": [
|
||||
{
|
||||
"name": "咖啡2选1",
|
||||
"pick_count": 3,
|
||||
"choice_list": [
|
||||
{
|
||||
"name": "美式",
|
||||
"price": 10000,
|
||||
"count": 2,
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"mini_program_appid": "wx4fd12345678",
|
||||
"mini_program_path": "/pages/index/index"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"out_product_no": "Product_1234567890",
|
||||
"state": "AUDITING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-06-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下架",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"stock": {
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"attach": "example_attach",
|
||||
"channel_custom_info": "example_channel_custom_info",
|
||||
"brand_id": "120344",
|
||||
"coupon_tag_info": {
|
||||
"coupon_tag_list": [
|
||||
"MEMBER"
|
||||
],
|
||||
"member_tag_info": {
|
||||
"member_card_id": "MemberCardId_1234567890"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"product_coupon_id": "1002323",
|
||||
"stock_id": "100232301",
|
||||
"appid": "wx233544546545989",
|
||||
"use_time": "2025-07-24T00:00+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"out_request_no": "MCHUSE202003101234",
|
||||
"sequential_coupon_index": 0,
|
||||
"brand_id": "120344"
|
||||
}
|
||||
@@ -0,0 +1,252 @@
|
||||
{
|
||||
"coupon_code": "123446565767",
|
||||
"coupon_state": "USED",
|
||||
"valid_begin_time": "2025-01-01T00:00+08:00",
|
||||
"valid_end_time": "2025-01-30T23:59:59+08:00",
|
||||
"receive_time": "2025-01-01T09:10:00+08:00",
|
||||
"send_request_no": "MCHSEND202003101234",
|
||||
"send_channel": "API",
|
||||
"confirm_request_no": "MCHCONFIRM202003101234",
|
||||
"confirm_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下线",
|
||||
"single_usage_detail": {
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00"
|
||||
},
|
||||
"sequential_usage_detail": {
|
||||
"total_count": 10,
|
||||
"used_count": 3,
|
||||
"detail_item_list": [
|
||||
{
|
||||
"detail_state": "USED",
|
||||
"valid_begin_time": "2025-07-24T00:00+08:00",
|
||||
"valid_end_time": "2025-07-30T23:59:59+08:00",
|
||||
"use_request_no": "MCHUSE202003101234",
|
||||
"use_time": "2025-07-20T13:29:35+08:00",
|
||||
"associated_order_info": {
|
||||
"transaction_id": "4200000000123456789123456789",
|
||||
"out_trade_no": "trade_no_20250724123456",
|
||||
"mchid": "1234567890",
|
||||
"sub_mchid": "1234567890"
|
||||
},
|
||||
"return_request_no": "MCHRETURN202003101234",
|
||||
"return_time": "2025-07-20T14:29:35+08:00",
|
||||
"delete_time": "2025-07-20T14:29:35+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"product_coupon": {
|
||||
"product_coupon_id": "1002323",
|
||||
"scope": "ALL",
|
||||
"type": "NORMAL",
|
||||
"usage_mode": "SEQUENTIAL",
|
||||
"single_usage_info": {
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
},
|
||||
"sequential_usage_info": {
|
||||
"type": "EQUAL",
|
||||
"count": 10,
|
||||
"available_days": 10,
|
||||
"interval_days": 1
|
||||
},
|
||||
"display_info": {
|
||||
"name": "全场满100可减10元",
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"background_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"detail_image_url_list": [
|
||||
"https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
],
|
||||
"original_price": 10000,
|
||||
"combo_package_list": [
|
||||
{
|
||||
"name": "咖啡2选1",
|
||||
"pick_count": 3,
|
||||
"choice_list": [
|
||||
{
|
||||
"name": "美式",
|
||||
"price": 10000,
|
||||
"count": 2,
|
||||
"image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx",
|
||||
"mini_program_appid": "wx4fd12345678",
|
||||
"mini_program_path": "/pages/index/index"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"out_product_no": "Product_1234567890",
|
||||
"state": "AUDITING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-06-20T13:29:35+08:00",
|
||||
"deactivate_reason": "商品已下架",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"stock": {
|
||||
"product_coupon_id": "200000001",
|
||||
"stock_id": "123456789",
|
||||
"remark": "满减券",
|
||||
"coupon_code_mode": "UPLOAD",
|
||||
"coupon_code_count_info": {
|
||||
"total_count": 10000,
|
||||
"available_count": 999
|
||||
},
|
||||
"stock_send_rule": {
|
||||
"max_count": 10000000,
|
||||
"max_count_per_day": 10000,
|
||||
"max_count_per_user": 1
|
||||
},
|
||||
"single_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"available_days": 10,
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon": {
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
},
|
||||
"discount_coupon": {
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
},
|
||||
"exchange_coupon": {
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
},
|
||||
"sequential_usage_rule": {
|
||||
"coupon_available_period": {
|
||||
"available_begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"available_end_time": "2025-10-01T00:00:00+08:00",
|
||||
"wait_days_after_receive": 1,
|
||||
"weekly_available_period": {
|
||||
"day_list": [
|
||||
"MONDAY"
|
||||
],
|
||||
"day_period_list": [
|
||||
{
|
||||
"begin_time": 60,
|
||||
"end_time": 86399
|
||||
}
|
||||
]
|
||||
},
|
||||
"irregular_available_period_list": [
|
||||
{
|
||||
"begin_time": "2025-01-01T00:00:00+08:00",
|
||||
"end_time": "2025-10-01T00:00:00+08:00"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normal_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"discount_amount": 100
|
||||
}
|
||||
],
|
||||
"discount_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"percent_off": 30
|
||||
}
|
||||
],
|
||||
"exchange_coupon_list": [
|
||||
{
|
||||
"threshold": 10000,
|
||||
"exchange_price": 100
|
||||
}
|
||||
],
|
||||
"special_first": false
|
||||
},
|
||||
"usage_rule_display_info": {
|
||||
"coupon_usage_method_list": [
|
||||
"MINI_PROGRAM"
|
||||
],
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/product",
|
||||
"app_path": "https://www.example.com/jump-to-app",
|
||||
"usage_description": "全场可用",
|
||||
"coupon_available_store_info": {
|
||||
"description": "可在上海市区的所有门店使用,详细列表参考小程序内信息为准",
|
||||
"mini_program_appid": "wx1234567890",
|
||||
"mini_program_path": "/pages/index/store-list"
|
||||
}
|
||||
},
|
||||
"coupon_display_info": {
|
||||
"code_display_mode": "QRCODE",
|
||||
"background_color": "Color010",
|
||||
"entrance_mini_program": {
|
||||
"appid": "wx1234567890",
|
||||
"path": "/pages/index/product",
|
||||
"entrance_wording": "欢迎选购",
|
||||
"guidance_wording": "获取更多优惠"
|
||||
},
|
||||
"entrance_official_account": {
|
||||
"appid": "wx1234567890"
|
||||
},
|
||||
"entrance_finder": {
|
||||
"finder_id": "gh_12345678",
|
||||
"finder_video_id": "UDFsdf24df34dD456Hdf34",
|
||||
"finder_video_cover_image_url": "https://wxpaylogo.qpic.cn/wxpaylogo/xxxxx/xxx"
|
||||
}
|
||||
},
|
||||
"notify_config": {
|
||||
"notify_appid": "wx4fd12345678"
|
||||
},
|
||||
"store_scope": "SPECIFIC",
|
||||
"sent_count_info": {
|
||||
"total_count": 100,
|
||||
"today_count": 10
|
||||
},
|
||||
"state": "SENDING",
|
||||
"deactivate_request_no": "1002600620019090123143254436",
|
||||
"deactivate_time": "2025-01-01T00:00+08:00",
|
||||
"deactivate_reason": "批次信息有误,重新创建",
|
||||
"brand_id": "120344"
|
||||
},
|
||||
"attach": "example_attach",
|
||||
"channel_custom_info": "example_channel_custom_info",
|
||||
"brand_id": "120344",
|
||||
"coupon_tag_info": {
|
||||
"coupon_tag_list": [
|
||||
"MEMBER"
|
||||
],
|
||||
"member_tag_info": {
|
||||
"member_card_id": "MemberCardId_1234567890"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user