获取优惠券列表
开发中
POST
https://saas-open.vhall.com/v3/goods/coupon/get-list
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://saas-open.vhall.com/v3/goods/coupon/get-list' \
--header 'platform: 15' \
--header 'Content-Type: application/json' \
--data-raw '{
"pos": "0",
"limit": "10",
"coupon_type": 0,
"keyword": "string",
"webinar_id": 0
}'
响应示例响应示例
{
"code": 0,
"msg": "string",
"trace_id": "string",
"data": {
"total": 0,
"list": [
{
"coupon_id": "string",
"coupon_name": "string",
"coupon_type": 0,
"threshold_amount": 0,
"deduction_amount": 0,
"validity_type": 0,
"validity_day": 0,
"validity_start_time": "string",
"validity_end_time": "string",
"use_desc": "string",
"applicable_product_type": 0,
"goods_num": 0,
"business_uid": 0,
"nick_name": 0,
"updated_at": "string"
}
]
}
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
platform
integer
可选
默认值:
15
Body 参数application/json
返回响应
修改于 2025-05-28 05:26:24