客如云券核销
POST
/open/v1/crm/coupon/validate(下行接口)合作方对客如云券核销
请求参数
Body 参数application/json
couponId
integer
必需
couponNo
string
券编号
couponType
integer
必需
券类型 MANJIAN(1,“满减券”),ZHEKOU(2,“折扣券”),LIPIN(3,“礼品券”),XIANJIN(4,“现金券”);
customerId
integer
顾客Id
offerValue
integer
优惠金额 单位:分
payAmount
integer
必需
消费金额(实际支付金额) 单位:分
personCount
integer
消费人数
remark
string
第三方订单号
tpOrderId
string
备注
示例
{
"couponId": 0,
"couponNo": "string",
"couponType": 1,
"customerId": 0,
"offerValue": 0,
"payAmount": 0,
"personCount": 0,
"remark": "string",
"tpOrderId": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
错误码;0:成功;其他值认为失败
message
string
返回信息
messageUuid
string
错误信息序列码
示例
{
"code": 0,
"message": "string",
"messageUuid": "string"
}
修改于 3 年前