创建商家券活动
开发环境
开发环境
POST
/v3/alipay/marketing/ordervoucher/activity
alipay.marketing.activity.ordervoucher
创建商家券活动接口同步返回创建请求受理结果,后续通过alipay.marketing.activity.message.created消息接口异步发送活动创建成功事件消息。
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v3/alipay/marketing/ordervoucher/activity' \
--header 'Content-Type: application/json' \
--data-raw ''
响应示例响应示例
200 - 示例 1
{
"voucher_available_scope_result_info": {
"voucher_available_geography_scope_result_info": {
"available_geography_shop_result_info": {
"available_geography_all_shop_result_info": {
"fail_exclude_shop_infos": [
{
"fail_message": "string",
"real_shop_id": "string",
"shop_id": "string",
"fail_reasons": [
"string"
]
}
],
"success_exclude_shop_ids": [
"string"
]
},
"fail_available_real_shop_infos": [
{
"fail_message": "string",
"real_shop_id": "string",
"shop_id": "string",
"fail_reasons": [
"string"
]
}
],
"fail_available_shop_infos": [
{
"fail_message": "string",
"real_shop_id": "string",
"shop_id": "string",
"fail_reasons": [
"string"
]
}
],
"success_available_real_shop_ids": [
"string"
],
"success_available_shop_ids": [
"string"
]
}
}
},
"voucher_use_rule_result": {
"voucher_available_scope_result": {
"order_voucher_available_shop_result": {
"order_voucher_merchant_all_shop_result": {
"exclude_shop_fail_infos": [
{
"fail_message": "string",
"shop_id": "string",
"fail_reasons": [
"string"
]
}
],
"success_exclude_shop_ids": [
"string"
]
},
"real_shop_fail_infos": [
{
"fail_message": "string",
"real_shop_id": "string",
"fail_reasons": [
"string"
]
}
],
"shop_fail_infos": [
{
"fail_message": "string",
"shop_id": "string",
"fail_reasons": [
"string"
]
}
],
"success_real_shop_ids": [
"string"
],
"success_shop_ids": [
"string"
]
},
"voucher_available_type": "string"
}
},
"activity_id": "2016042700826004508401111111"
}
请求参数
Body 参数application/json
返回响应
修改于 2023-11-22 05:56:08