发放优惠券2.0
POST
https://api.xiaoe-tech.com/xe.coupon.receive/2.0.0
拥有此API的权限集 |
---|
营销码券管理-查询码券信息 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.xiaoe-tech.com/xe.coupon.receive/2.0.0' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token": "xe_xxxxx",
"user_id": "xx",
"coupon_id": "xx"
}'
响应示例响应示例
{
"code": 0,
"msg": "领取成功",
"data": {
"received_count": 1,
"count": 2,
"current_user_received_count": 1,
"receive_rule": 0
}
}
请求参数
Body 参数application/json