product_detail_page_coupon.md 1.7 KB

#商品详情页优惠券接口

接口描述

1、查询商品详情页优惠券(app.coupons.queryProdPageCoupons)

请求参数

Param Name Param Type Required Param Value Desc
method String true app.coupons.queryProdPageCoupons 请求方法
uid int false 用户uid
brandId int true 品牌ID
skn int true 商品SKN

响应内容

    {
      "alg": "SALT_MD5",
      "code": 200,
      "data": [
    {
      "couponName": "有效期20161017未到,10*2",
      "amount": 10,
      "acquireStatus": 3,
      "createTime": 1476358043,
      "startTime": 1476633600,
      "lifeTime": "2016.10.17-2016.10.28",
      "endTime": 1477584000,
      "couponId": 14200,
      "rule4ShortName":"满¥100减10元"
    },
    {
      "couponName": "有效的nike券",
      "amount": 22,
      "acquireStatus": 3,
      "createTime": 1475152374,
      "startTime": 1474992000,
      "lifeTime": "2016.09.28-2016.11.17",
      "endTime": 1479312000,
      "couponId": 14144,
      "rule4ShortName":"满¥100减10元"
    },
    {
      "couponName": "有效期内优惠券15*3倍",
      "amount": 15,
      "acquireStatus": 3,
      "createTime": 1476358258,
      "startTime": 1476115200,
      "lifeTime": "2016.10.11-2016.11.18",
      "endTime": 1479398400,
      "couponId": 14202,
      "rule4ShortName":"满¥100减10元"
    }
      ],
      "md5": "fe8f6e48b14c8f0b5044cb73d7c79900",
      "message": "操作成功"
    }
说明:acquireStatus:1.可领取 2.已抢光 3.已领取 4.已过期 (商品详情页只有13