订单侠开放平台上线【获取店铺下所有优惠券】接口


订单侠开放平台上线【获取店铺下所有优惠券接口】 ,该接口可以通过店铺内任意一件淘客商品ID来获取店铺下所有优惠券信息,包括券ID、有效期、领取量、剩余量、使用条件等信息。

如下图所示,我们要想拿到这些优惠券信息:

image.png


通过商品ID 获取后的数据如下:

{
    "code": 200,
    "msg": "请求成功【success】",
    "data": [
        {
            "coupon_activity_id": "d968d718f99a42de848d6952d8030b79",
            "coupon_amount": "2.0",
            "coupon_end_time": "2020-05-31",
            "coupon_remain_count": 95720,
            "coupon_src_scene": 1,
            "coupon_start_fee": "59.0",
            "coupon_start_time": "2020-04-10",
            "coupon_total_count": 100000,
            "coupon_type": 0
        },
        {
            "coupon_activity_id": "18e04b0cfd1e4fd290a2af94f1b12c34",
            "coupon_amount": "3.0",
            "coupon_end_time": "2020-05-31",
            "coupon_remain_count": 47700,
            "coupon_src_scene": 1,
            "coupon_start_fee": "100.0",
            "coupon_start_time": "2020-04-10",
            "coupon_total_count": 50000,
            "coupon_type": 0
        },
        {
            "coupon_activity_id": "e018c2b49fb045d98f9ab319d92c0d18",
            "coupon_amount": "5.0",
            "coupon_end_time": "2020-05-31",
            "coupon_remain_count": 48772,
            "coupon_src_scene": 1,
            "coupon_start_fee": "200.0",
            "coupon_start_time": "2020-04-10",
            "coupon_total_count": 50000,
            "coupon_type": 0
        },
        {
            "coupon_activity_id": "d92cd4c445af493cb55b0ae16b83bc52",
            "coupon_amount": "10.0",
            "coupon_end_time": "2020-05-31",
            "coupon_remain_count": 49159,
            "coupon_src_scene": 1,
            "coupon_start_fee": "300.0",
            "coupon_start_time": "2020-04-10",
            "coupon_total_count": 50000,
            "coupon_type": 0
        },
        {
            "coupon_activity_id": "7c74d8e505ae46bd95f15988ab724c9b",
            "coupon_amount": "15.0",
            "coupon_end_time": "2020-05-31",
            "coupon_remain_count": 49396,
            "coupon_src_scene": 1,
            "coupon_start_fee": "450.0",
            "coupon_start_time": "2020-04-10",
            "coupon_total_count": 50000,
            "coupon_type": 0
        },
        {
            "coupon_activity_id": "60f83e6c09e74299bfd43ad9cb05ee24",
            "coupon_amount": "20.0",
            "coupon_end_time": "2020-04-30",
            "coupon_remain_count": 4172,
            "coupon_src_scene": 1,
            "coupon_start_fee": "600.0",
            "coupon_start_time": "2020-04-01",
            "coupon_total_count": 5000,
            "coupon_type": 0
        }
    ]
}


在线测试:https://www.dingdanxia.com/apitest/148/118

接口文档:https://www.dingdanxia.com/doc/148/118