获取优惠券详情
POST
https://api.xiaoe-tech.com/xe.coupon.info/1.0.0
拥有此API的权限集 |
---|
营销码券管理-查询码券信息 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.xiaoe-tech.com/xe.coupon.info/1.0.0' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token" : "xe_xxxxx",
"user_id": "u_xxxx",
"coupon_id": "cou_xxxx"
}'
响应示例响应示例
{
"code": 0,
"msg": "获取优惠券详细信息成功",
"data": {
"id": "cou_xKw",
"app_id": "apx78",
"type": 0,
"title": "详情页优惠券",
"valid_at": "2020-03-30 20:51:00",
"invalid_at": "2020-04-03 00:00:00",
"manual_stop_at": "",
"price": 80,
"receive_rule": 100,
"require_price": 100,
"bind_res_count": 1,
"count": 2,
"has_received": 1,
"can_share": 1,
"current_user_received_count": 0,
"resource_info": [
{
"id": "i_xe",
"spu_id": "i_x",
"goods_id": "i_x",
"resource_id": "i_x",
"type": 1,
"sku_id": "SKU_xxxxxx",
"title": "满减优惠",
"summary": "",
"org_content": "",
"descrb": "",
"img_url": "httpxxx.gif",
"img_url_compressed": "http://xxxy.gif",
"count": "",
"price": 188,
"stock": 999999999,
"high_price": 18800,
"low_price": 18800,
"line_price": 0,
"is_package": 0,
"created_at": "2020-03-30 20:46:15",
"enough_price": 1,
"content_url": "xxxxx"
}
],
"discount_percent": 0,
"discount_limit_price": 0
}
}
请求参数
Body 参数application/json