接口描述:

  • 订单可用优惠券列表

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 朱小 2020-03-29 2020-03-29

请求URL:

  • 商户接口URL/api/member_coupon/canUseCoupon

请求方式:

  • GET
  • POST

请求参数:

参数名 是否必须 类型 说明
amount string 订单金额,单位:元
storeId string 门店ID

返回参数说明:

参数名 类型 说明
code int 0
msg string success
data json 查询成功返回list数据

返回示例:

{
  "code": 0,
  "msg": "success",
  "data": [
    {
      "ps": null,
      "couponId": 1012,
      "couponName": "满0.02减0.01",
      "couponColor": "#63b359",
      "logoImgPath": "",
      "couponAmount": 1,
      "payAmountLimit": 2,
      "status": 1,
      "validateType": 1,
      "validateDay": 123,
      "beginTime": "2019-11-01 00:00:00",
      "endTime": "2019-12-31 00:00:00",
      "totalNum": 21312,
      "receiveNum": 16,
      "useTimeConfig": "{\"week\":\"1,2,3,4,5,6,7\",\"time\":\"00:00:00 ~ 23:59:59\"}",
      "singleUserLimit": 23,
      "storeLimitType": 0,
      "expiredWarningTime": 123,
      "syncWX": 1,
      "mchId": 20000002,
      "remark": "",
      "createTime": "2019-11-01 16:33:45",
      "updateTime": "2020-01-06 18:29:54"
    },
    {
      "ps": null,
      "couponId": 1018,
      "couponName": "123",
      "couponColor": "#63b359",
      "logoImgPath": "",
      "couponAmount": 12300,
      "payAmountLimit": 123000,
      "status": 1,
      "validateType": 1,
      "validateDay": 123,
      "beginTime": "2020-04-07 00:00:00",
      "endTime": "2020-05-12 00:00:00",
      "totalNum": 123,
      "receiveNum": 1,
      "useTimeConfig": "{\"week\":\"1,2,3,4,5,6,7\",\"time\":\"00:00:00 ~ 23:59:59\"}",
      "singleUserLimit": 123,
      "storeLimitType": 1,
      "expiredWarningTime": 123,
      "syncWX": 0,
      "mchId": 20000000,
      "remark": "",
      "createTime": "2020-04-01 17:48:01",
      "updateTime": "2020-04-02 16:28:49"
    }
  ]
}
文档更新时间: 2021-10-25 18:25   作者:刘正阳