1.优惠劵详情

接口

POST https://open.jisuapp.cn/business/Coupons/GetCouponInfo

请求参数说明

Content-Type: application/x-www-form-urlencoded

参数 类型 必填 说明
access_token string Y 用户授权的唯一票据
app_id string Y 应用ID
coupon_id int Y 优惠券ID

返回参数

参数 类型 说明
id int 优惠码自增id
app_id String 小程序id
user_token String 登录用户标识
app_name String 小程序名字
logo String 小程序log
title String 优惠卡标题
sub_title String 优惠卡副标题
background String 优惠卡背景颜色
type String 优惠券类型 0->满减 1-> 打折 2->代金券 3-> 兑换券 4->储值券 5->通用券
condition String 优惠券优惠条件
value String 优惠值
add_time String 添加时间
react String 生效时间,单位:天,默认0立即生效
expire String
consume_num String 消耗数量
recv_num String 送出数量
stock String 库存
limit_num String 领取上限
address String 地址
phone String 手机号
is_deleted String 是否删除 1删除 0未删除
enable_status String 上下架 0下架 1上架
start_get_time String 获取开始时间
end_get_time String 获取结束时间
start_use_date String 开始使用时间
end_use_date String 结束使用时间
start_use_time String 开始使用时间
end_use_time String 结束使用时间
exclude_holiday String 去掉假日
exclude_weekend String 去掉周末
in_show_list String 是否在优惠券列表显示
button_color String 按钮颜色
list_color String 列表颜色
extra_condition String 额外条件
extra_goods String 额外商品

参数返回示例

{
    "status": 0,
    "data": {
        "id": "64219",
        "app_id": "6RD2nsRY57",
        "user_token": "8a8c9ad2b647a49b90e4f0c06fff3e3a",
        "app_name": "aaaaaaa",
        "logo": "https://img.zhichiwangluo.com/zcimgdir/album/file_5caae5e830f35.jpg",
        "title": "次数券",
        "sub_title": "",
        "background": "#eaebed",
        "type": "6",
        "condition": "0.00",
        "value": "3.00",
        "add_time": "1567151339",
        "react": "0",
        "expire": "100",
        "consume_num": "0",
        "recv_num": "76",
        "stock": "24",
        "limit_num": "100",
        "address": "",
        "phone": "",
        "is_deleted": "0",
        "enable_status": "1",
        "start_get_time": "2019-08-30",
        "end_get_time": "2020-08-28",
        "start_use_date": "1000-01-01",
        "end_use_date": "9999-12-31",
        "start_use_time": "00:00",
        "end_use_time": "23:59",
        "daily_start_use_time": "00:00:00",
        "daily_end_use_time": "23:59:59",
        "exclude_holiday": "0",
        "exclude_weekend": "0",
        "in_show_list": "1",
        "button_color": "#fd445b",
        "list_color": "#fb445b",
        "extra_condition": null,
        "extra_goods": null,
        "exchange_condition": "",
        "exchangeable": "0",
        "user_condition": "0",
        "viewed_count": "0",
        "sales": "0",
        "special_status": "1",
        "category": "0",
        "force": "0",
        "allow": "0",
        "self_collect": "2",
        "extra_goods_info": [],
        "user_condition_list": [],
        "alliance_coupon": "",
        "sub_app_bar": "",
        "s_his_data": "",
        "recv_count": null,
        "in_use_time": null,
        "in_get_time": null,
        "is_user_level": null,
        "recv_status": null,
        "is_already_recv": 0,
        "has_expired_coupon": null,
        "exist_unused_coupon_status": null
    }
}

results matching ""

    No results matching ""