简要描述:
-获取优惠券信息
请求URL:
&route=plugin.shop-assistant.frontend.coupon.coupon-detail
请求参数说明:
参数名 | 类型 | 是否必需 | 说明 |
---|---|---|---|
id | int | 是 | ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"id": 9,
"name": "123",
"coupon_type_name": "平台商品"
}
}
返回参数说明:与接口coupon.member-coupon.coupons-of-member-by-status-v2参数一致
参数名 | 类型 | 说明 | |
---|---|---|---|
id | int | 优惠券ID | |
name | string | 优惠券名字 |
错误时返回:
{
"result": 0,
"msg": "请登录",
"data": []
}