查询用户券详情
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/v3/alipay/marketing/activity/ordervoucher/user/voucher
alipay.marketing.activity.user
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/v3/alipay/marketing/activity/ordervoucher/user/voucher'
响应示例响应示例
200 - 示例 1
{
"activity_base_info": {
"belong_merchant_info": {
"business_type": "string",
"merchant_id": "string",
"merchant_id_type": "string"
},
"activity_id": "string",
"activity_name": "string",
"activity_operation_status": "string",
"activity_product_type": "string",
"activity_status": "string",
"code_mode": "string",
"out_activity_id": "string"
},
"user_voucher_base_info": {
"associate_trade_no": "string",
"create_time": "string",
"valid_begin_time": "string",
"valid_end_time": "string",
"voucher_id": "string",
"voucher_max_use_times": 0,
"voucher_name": "string",
"voucher_status": "string",
"voucher_used_times": 0
},
"voucher_deduct_info": {
"customer_define_voucher_info": {
"deduct_info": {
"customer_define_deduct_rule": {
"customer_define_deduct_rule_desc": "string"
}
}
},
"discount_voucher_info": {
"voucher_deduct_threshold_info": {
"voucher_express_info": {
"pay_express": "string"
},
"voucher_goods_quantity_specification_info": {
"directional_type": "string",
"specification_quantity": 0,
"specification_unit": "string"
},
"customer_define_voucher_threshold_desc": "string"
},
"ceiling_amount": "string",
"discount": "string",
"floor_amount": "string"
},
"exchange_voucher_info": {
"exchange_goods_info": {
"exchange_goods_name": "string"
},
"voucher_deduct_threshold_info": {
"voucher_express_info": {
"pay_express": "string"
},
"voucher_goods_quantity_specification_info": {
"directional_type": "string",
"specification_quantity": 0,
"specification_unit": "string"
},
"customer_define_voucher_threshold_desc": "string"
},
"amount": "string",
"biz_type": "string",
"floor_amount": "string"
},
"fix_voucher_info": {
"voucher_deduct_threshold_info": {
"voucher_express_info": {
"pay_express": "string"
},
"voucher_goods_quantity_specification_info": {
"directional_type": "string",
"specification_quantity": 0,
"specification_unit": "string"
},
"customer_define_voucher_threshold_desc": "string"
},
"amount": "string",
"floor_amount": "string"
},
"special_voucher_info": {
"voucher_deduct_threshold_info": {
"voucher_express_info": {
"pay_express": "string"
},
"voucher_goods_quantity_specification_info": {
"directional_type": "string",
"specification_quantity": 0,
"specification_unit": "string"
},
"customer_define_voucher_threshold_desc": "string"
},
"floor_amount": "string",
"special_amount": "string"
},
"voucher_type": "string"
},
"voucher_display_info": {
"brand_logo": "string",
"brand_name": "string",
"voucher_description": "string",
"voucher_image": "string",
"voucher_detail_images": [
"string"
]
},
"voucher_display_pattern_info": {
"brand_logo": "string",
"brand_logo_url": "string",
"brand_name": "string",
"customer_service_mobile": "string",
"customer_service_url": "string",
"voucher_description": "string",
"voucher_image": "string",
"voucher_image_url": "string",
"voucher_name": "string",
"voucher_detail_image_urls": [
"string"
],
"voucher_detail_images": [
"string"
]
},
"voucher_send_mode_info": {
"voucher_package_mode_info": {
"voucher_package_id": "string"
},
"voucher_sale_mode_info": {
"settle_info": {
"settle_mode": "string",
"settle_target_type": "string"
},
"fund_custody_mode": "string",
"overdue_refundable": true,
"overdue_refundable_need_confirm": true,
"payee_pid": "string",
"refundable": true,
"refundable_need_confirm": true,
"sale_amount": "string"
},
"voucher_send_rule_info": {
"max_quantity_by_day": 0,
"natural_person_limit": true,
"phone_number_limit": true,
"phone_number_need_input_limit": true,
"publish_end_time": "string",
"publish_start_time": "string",
"quantity": 0,
"quantity_limit_per_user": 0,
"quantity_limit_per_user_period_type": "string",
"real_name_limit": true
},
"voucher_send_mode": "string"
},
"voucher_send_rule": {
"max_quantity_by_day": 0,
"natural_person_limit": true,
"phone_number_limit": true,
"real_name_limit": true,
"voucher_quantity": 0,
"voucher_quantity_limit_per_user": 0,
"voucher_quantity_limit_per_user_period_type": "string"
},
"voucher_use_rule": {
"discount_voucher": {
"ceiling_amount": "string",
"discount": "string",
"floor_amount": "string",
"goods_name": "string",
"origin_amount": "string"
},
"exchange_voucher": {
"amount": "string",
"floor_amount": "string",
"overdue_refundable": true,
"refundable": true,
"sale_amount": "string"
},
"fix_voucher": {
"amount": "string",
"floor_amount": "string",
"goods_name": "string"
},
"special_voucher": {
"floor_amount": "string",
"goods_name": "string",
"origin_amount": "string",
"special_amount": "string"
}
},
"voucher_use_rule_info": {
"voucher_use_time_info": {
"absolute_period_info": {
"time_restrict_info": {
"disable_period_info": [
{
"date_rule_info": {
"date_range_info": {
"begin_date": "string",
"end_date": "string"
},
"time_range_info": {
"end_time_info": {
"end_time": "string",
"end_time_type": "string"
},
"begin_time": "string"
}
},
"holiday_rule_info": {
"time_range_info": {
"end_time_info": {
"end_time": "string",
"end_time_type": "string"
},
"begin_time": "string"
}
},
"week_rule_info": {
"time_range_info": {
"end_time_info": {
"end_time": "string",
"end_time_type": "string"
},
"begin_time": "string"
},
"week_day": "string"
},
"rule_type": "string"
}
],
"usable_period_info": [
{
"date_rule_info": {
"date_range_info": {
"begin_date": "string",
"end_date": "string"
},
"time_range_info": {
"end_time_info": {
"end_time": "string",
"end_time_type": "string"
},
"begin_time": "string"
}
},
"holiday_rule_info": {
"time_range_info": {
"end_time_info": {
"end_time": "string",
"end_time_type": "string"
},
"begin_time": "string"
}
},
"week_rule_info": {
"time_range_info": {
"end_time_info": {
"end_time": "string",
"end_time_type": "string"
},
"begin_time": "string"
},
"week_day": "string"
},
"rule_type": "string"
}
]
},
"valid_begin_time": "string",
"valid_end_time": "string"
},
"relative_period_info": {
"time_restrict_info": {
"disable_period_info": [
{
"date_rule_info": {
"date_range_info": {
"begin_date": "string",
"end_date": "string"
},
"time_range_info": {
"end_time_info": {
"end_time": "string",
"end_time_type": "string"
},
"begin_time": "string"
}
},
"holiday_rule_info": {
"time_range_info": {
"end_time_info": {
"end_time": "string",
"end_time_type": "string"
},
"begin_time": "string"
}
},
"week_rule_info": {
"time_range_info": {
"end_time_info": {
"end_time": "string",
"end_time_type": "string"
},
"begin_time": "string"
},
"week_day": "string"
},
"rule_type": "string"
}
],
"usable_period_info": [
{
"date_rule_info": {
"date_range_info": {
"begin_date": "string",
"end_date": "string"
},
"time_range_info": {
"end_time_info": {
"end_time": "string",
"end_time_type": "string"
},
"begin_time": "string"
}
},
"holiday_rule_info": {
"time_range_info": {
"end_time_info": {
"end_time": "string",
"end_time_type": "string"
},
"begin_time": "string"
}
},
"week_rule_info": {
"time_range_info": {
"end_time_info": {
"end_time": "string",
"end_time_type": "string"
},
"begin_time": "string"
},
"week_day": "string"
},
"rule_type": "string"
}
]
},
"valid_days_after_receive": 0,
"wait_days_after_receive": 0
},
"period_type": "string"
},
"quantity_limit_per_user": 0,
"quantity_limit_per_user_period_type": "string",
"voucher_max_use_times": 0,
"voucher_use_ext_info": "string"
},
"activity_id": "2016042700826004508401111111",
"associate_trade_no": "2021042322001426261436764012",
"belong_merchant_id": "2088202967380463",
"voucher_name": "满10减1",
"voucher_status": "SENDED",
"voucher_type": "FIX_VOUCHER",
"available_begin_time": {},
"available_end_time": {},
"create_time": {}
}
请求参数
Query 参数
merchant_id
string
可选
user_id
string
可选
open_id
string
可选
activity_id
string
活动id
voucher_id
string
可选
voucher_code
string
可选
merchant_access_mode
string
商户接入模式。
返回响应
修改于 2023-11-22 06:02:00