- 营销中心
- 一期接口文档
- 二期接口文档
- 营销cms
- 付费会员赢好礼
- 活动
- 微信券
- 百度券
- 优惠券兑换任务
- 券
- 营销短链
- 寄件有礼活动通知会员团GET
- 寄件有礼活动通知会员团 CopyGET
- 上传POST
- 万象平台
- 一期接口文档
- 二期接口文档
- 三期接口文档
- 88周年庆
- 导出
- 补发券
- 回收券
- 排行活动
- 优惠券兑换任务
- 人群圈选
- 用户领取与使用限制相关接口
- 微信券
- 公共接口
- 中止/恢复活动POST
- 百度OpenAPI
- 微信OpenAPI
查询优惠券列表
开发中
POST
/ypc/vientiane/coupon/list
请求参数
Cookie 参数
JSESSIONID
string
可选
示例值:
NDk3YTk2MjEtYjEyOC00NDNiLWExNTUtYTI2MWI2M2MyM2Q0
Body 参数application/json
id
integer
券id
couponName
string
券名称
couponStatus
string
必需
couponType
string
必需
businessSystemId
string
业务体系
deliverChannel
string
必需
createStartTime
string
开始时间
createEndTime
string
结束时间
pageNum
integer
页码
pageSize
integer
页大小
platformName
string
必需
示例
{
"id":123,
"couponName":"",
"couponStatus":"",
"couponType":"",
"businessSystemId":"",
"deliverChannel":"",
"createStartTime":"",
"createEndTime":"",
"platformName":"",
"pageNum":1,
"pageSize":10
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/ypc/vientiane/coupon/list' \
--header 'Content-Type: application/json' \
--data-raw '{
"id":123,
"couponName":"",
"couponStatus":"",
"couponType":"",
"businessSystemId":"",
"deliverChannel":"",
"createStartTime":"",
"createEndTime":"",
"platformName":"",
"pageNum":1,
"pageSize":10
}'
返回响应
🟢200成功
application/json
Body
code
string
必需
message
null
必需
data
object
必需
pageNum
integer
必需
pageSize
integer
必需
pageTotal
integer
必需
total
integer
必需
dataList
array [object {24}]
必需
success
boolean
必需
示例
{
"code": "200",
"message": null,
"data": {
"pageNum": 1,
"pageSize": 10,
"pageTotal": 2,
"total": 13,
"dataList": [
{
"id": "1608502466915681058",
"code": "2996268228",
"platformName": "BAIDU",
"deliverChannel": "BAIDU",
"couponName": "0511快递满减",
"couponStatus": "PROCESSING",
"activityId": "1608502466893829228",
"remark": "",
"useStartTime": null,
"useEndTime": null,
"pickupStartTime": "2021-05-11 00:00:00",
"pickupEndTime": "2021-05-28 00:00:00",
"pickupAfterDays": "30",
"issueMaxAmount": 500,
"pickupAmount": 0,
"usedAmount": 0,
"writeOffAmount": 0,
"miniOrderAmount": null,
"maxDiscountAmount": null,
"discountAmount": 20,
"discountRate": 0,
"businessSystemId": "expressBusiness",
"couponType": "REDUCE",
"couponDescription": null
},
{
"id": "1608502466879417857",
"code": "2995972665",
"platformName": "BAIDU",
"deliverChannel": "BAIDU",
"couponName": "快递折扣券",
"couponStatus": "PROCESSING",
"activityId": "1608502466751148074",
"remark": "",
"useStartTime": "2021-04-05 00:00:00",
"useEndTime": "2021-05-30 14:40:00",
"pickupStartTime": "2021-02-20 00:00:00",
"pickupEndTime": "2021-05-28 00:00:00",
"pickupAfterDays": "0",
"issueMaxAmount": 50,
"pickupAmount": 0,
"usedAmount": 0,
"writeOffAmount": 0,
"miniOrderAmount": null,
"maxDiscountAmount": null,
"discountAmount": 20,
"discountRate": 5,
"businessSystemId": "1008611",
"couponType": "REDUCE",
"couponDescription": null
},
{
"id": "122550304507353957",
"code": "2996588747",
"platformName": "BAIDU",
"deliverChannel": "BAIDU",
"couponName": "快递折扣券",
"couponStatus": "PROCESSING",
"activityId": "122550304502558424",
"remark": "",
"useStartTime": "2021-04-05 00:00:00",
"useEndTime": "2021-05-30 14:40:00",
"pickupStartTime": "2021-02-20 00:00:00",
"pickupEndTime": "2021-05-28 00:00:00",
"pickupAfterDays": "0",
"issueMaxAmount": 50,
"pickupAmount": 0,
"usedAmount": 0,
"writeOffAmount": 0,
"miniOrderAmount": null,
"maxDiscountAmount": null,
"discountAmount": 20,
"discountRate": 5,
"businessSystemId": "1008611",
"couponType": "REDUCE",
"couponDescription": null
},
{
"id": "122469195868430955",
"code": "2995972667",
"platformName": "BAIDU",
"deliverChannel": "BAIDU",
"couponName": "快递折扣券",
"couponStatus": "PROCESSING",
"activityId": "122469195863509838",
"remark": "",
"useStartTime": "2021-04-05 00:00:00",
"useEndTime": "2021-05-30 14:40:00",
"pickupStartTime": "2021-02-20 00:00:00",
"pickupEndTime": "2021-05-28 00:00:00",
"pickupAfterDays": "0",
"issueMaxAmount": 50,
"pickupAmount": 0,
"usedAmount": 0,
"writeOffAmount": 0,
"miniOrderAmount": null,
"maxDiscountAmount": null,
"discountAmount": 20,
"discountRate": 5,
"businessSystemId": "1008611",
"couponType": "REDUCE",
"couponDescription": null
},
{
"id": "122447069057645278",
"code": "2998841317",
"platformName": "BAIDU",
"deliverChannel": "BAIDU",
"couponName": "快递折扣券",
"couponStatus": "PROCESSING",
"activityId": "122447068989641574",
"remark": "",
"useStartTime": "2021-04-05 00:00:00",
"useEndTime": "2021-05-30 14:40:00",
"pickupStartTime": "2021-02-20 00:00:00",
"pickupEndTime": "2021-05-28 00:00:00",
"pickupAfterDays": "0",
"issueMaxAmount": 50,
"pickupAmount": 0,
"usedAmount": 0,
"writeOffAmount": 0,
"miniOrderAmount": null,
"maxDiscountAmount": null,
"discountAmount": 20,
"discountRate": 5,
"businessSystemId": "1008611",
"couponType": "REDUCE",
"couponDescription": null
},
{
"id": "122426714840713056",
"code": "2995972661",
"platformName": "BAIDU",
"deliverChannel": "BAIDU",
"couponName": "快递折扣券",
"couponStatus": "PROCESSING",
"activityId": "122426714835042552",
"remark": "",
"useStartTime": "2021-04-05 00:00:00",
"useEndTime": "2021-05-30 14:40:00",
"pickupStartTime": "2021-02-20 00:00:00",
"pickupEndTime": "2021-05-28 00:00:00",
"pickupAfterDays": "0",
"issueMaxAmount": 50,
"pickupAmount": 0,
"usedAmount": 0,
"writeOffAmount": 0,
"miniOrderAmount": null,
"maxDiscountAmount": null,
"discountAmount": 20,
"discountRate": 5,
"businessSystemId": "1008611",
"couponType": "REDUCE",
"couponDescription": null
},
{
"id": "122426714828033971",
"code": "2996602636",
"platformName": "BAIDU",
"deliverChannel": "BAIDU",
"couponName": "快递折扣券",
"couponStatus": "PROCESSING",
"activityId": "122426714823377495",
"remark": "",
"useStartTime": "2021-04-05 00:00:00",
"useEndTime": "2021-05-30 14:40:00",
"pickupStartTime": "2021-02-20 00:00:00",
"pickupEndTime": "2021-05-28 00:00:00",
"pickupAfterDays": "0",
"issueMaxAmount": 50,
"pickupAmount": 0,
"usedAmount": 0,
"writeOffAmount": 0,
"miniOrderAmount": null,
"maxDiscountAmount": null,
"discountAmount": 20,
"discountRate": 5,
"businessSystemId": "1008611",
"couponType": "REDUCE",
"couponDescription": null
},
{
"id": "122426714816685259",
"code": "2998628836",
"platformName": "BAIDU",
"deliverChannel": "BAIDU",
"couponName": "快递折扣券",
"couponStatus": "PROCESSING",
"activityId": "122426714752931574",
"remark": "",
"useStartTime": "2021-04-05 00:00:00",
"useEndTime": "2021-05-30 14:40:00",
"pickupStartTime": "2021-02-20 00:00:00",
"pickupEndTime": "2021-05-28 00:00:00",
"pickupAfterDays": "0",
"issueMaxAmount": 50,
"pickupAmount": 0,
"usedAmount": 0,
"writeOffAmount": 0,
"miniOrderAmount": null,
"maxDiscountAmount": null,
"discountAmount": 20,
"discountRate": 5,
"businessSystemId": "1008611",
"couponType": "REDUCE",
"couponDescription": null
},
{
"id": "121703740429585759",
"code": "2996268231",
"platformName": "BAIDU",
"deliverChannel": "BAIDU",
"couponName": "快递折扣券",
"couponStatus": "PROCESSING",
"activityId": "121703740374877488",
"remark": "",
"useStartTime": "2021-04-05 00:00:00",
"useEndTime": "2021-05-30 14:40:00",
"pickupStartTime": "2021-02-20 00:00:00",
"pickupEndTime": "2021-05-28 00:00:00",
"pickupAfterDays": "0",
"issueMaxAmount": 50,
"pickupAmount": 0,
"usedAmount": 0,
"writeOffAmount": 0,
"miniOrderAmount": null,
"maxDiscountAmount": null,
"discountAmount": 20,
"discountRate": 5,
"businessSystemId": "1008611",
"couponType": "REDUCE",
"couponDescription": null
},
{
"id": "121568031477033056",
"code": "2998841325",
"platformName": "BAIDU",
"deliverChannel": "BAIDU",
"couponName": "快递折扣券",
"couponStatus": "PROCESSING",
"activityId": "121568031471834548",
"remark": "",
"useStartTime": "2021-04-05 00:00:00",
"useEndTime": "2021-05-30 14:40:00",
"pickupStartTime": "2021-02-20 00:00:00",
"pickupEndTime": "2021-05-28 00:00:00",
"pickupAfterDays": "0",
"issueMaxAmount": 50,
"pickupAmount": 0,
"usedAmount": 0,
"writeOffAmount": 0,
"miniOrderAmount": null,
"maxDiscountAmount": null,
"discountAmount": 20,
"discountRate": 5,
"businessSystemId": "1008611",
"couponType": "REDUCE",
"couponDescription": null
}
]
},
"success": true
}
修改于 2022-07-05 05:49:59