查询门店营销规则
POST
/open/v1/crm/fetchRules(下行接口)客如云提供查询券模板列表
请求参数
Body 参数application/json
object {0}
示例
{}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
result
#/definitions/2356401规则
code
integer
必需
错误码;0:成功;其他值认为失败
message
string
返回信息
messageUuid
string
错误信息序列码
apiMessage
string
必需
示例
{
"code": 1,
"result": [
{
"dishId": 1,
"rules": [
{
"dishId": 1,
"planId": 11,
"ruleId": 1,
"ruleName": "立减3元",
"type": 1,
"reduce": 3,
"periodStart": "07:00:00",
"periodEnd": "23:59:59",
"weekdays": "1111111",
"customerType": 1,
"updateTime": "2016-10-1818: 37: 00"
},
{
"dishId": 1,
"planId": 22,
"ruleId": 222,
"ruleName": "享受8.5折",
"type": 2,
"discount": 8.5,
"periodStart": "07:00:00",
"periodEnd": "23:59:59",
"weekdays": "1111111",
"customerType": 1,
"updateTime": "2016-10-1818: 37: 00"
}
]
},
{
"dishId": 2
}
]
}
修改于 3 年前