文档
测试

境外商城-优惠券列表-免费兑换

POST
http://localhost:8080/app/zkb/outland/coupon/exchange

请求参数

参数名
类型
描述
必填
user_id
string
示例:f49dd682f17749e6aaa9f2b151680334
必填
sign
string
示例:901a6bfd030621da66088760e7fdf42b
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
errors
object
数据字典
必填
msg
string
示例:操作成功
必填
result
object
数据字典
必填
exchange_coupon_list
array
兑换优惠券列表
必填
coupon_amount
int
优惠券面值 示例:5
必填
use_condition
string
适用于: 示例:需订单金额大于100.0元
必填
expire_time
string
有效期 示例:4个月
必填
need_score
int
所需积分 示例:500
必填
coupon_type
string
优惠券类型 示例:境外商城优惠券
必填
id
String
兑换优惠券id
必填

说明 / 示例

{ "code": 1, "errors": { }, "msg": "操作成功", "result": { "exchange_coupon_list": [ { "coupon_amount": 5, "use_condition": "需订单金额大于100.0元", "expire_time": "4个月", "need_score": 500, "id": "0ce38a1f2ba849fc9bfc9714f718c868", "coupon_type": "境外商城优惠券" }, { "coupon_amount": 10, "use_condition": "需订单金额大于500.0元", "expire_time": "3个月", "need_score": 600, "id": "c67320e2b2db4f36835c4c3d56286bd2", "coupon_type": "机具商城优惠券" }, { "coupon_amount": 5, "use_condition": "需订单金额大于240.0元", "expire_time": "3个月", "need_score": 300, "id": "cdac95139c2943d5a4c5ab14213ee640", "coupon_type": "机具商城优惠券" }, { "coupon_amount": 10, "use_condition": "需订单金额大于300.0元", "expire_time": "3个月", "need_score": 1000, "id": "e9e972c57a4d4f5f9667d0f3641338f0", "coupon_type": "境外商城优惠券" } ] } }